Page 1 of 1

Moving last entry in Content Management

Posted: Sat Jan 08, 2005 4:19 pm
by Greg
The last entry in the content management table has an arrow to move it down. As this is the last entry you would only want to move it up. :wink:

Moving last entry in Content Management

Posted: Sat Jan 08, 2005 11:26 pm
by Greg
Weird, on my local set-up it was the down arrow - on my live site it was correct - an up arrow ?

Moving last entry in Content Management

Posted: Sun Jan 09, 2005 12:09 am
by Ted
Sounds like a rare little buglet I should be looking for...

Moving last entry in Content Management

Posted: Thu Jan 13, 2005 3:26 am
by Ted
Found this one after I noticed it on the cmsmadesimple.org site. If you went over 10 pages in the hierarchy root, it would do this weird bug there ordering would go back to 0...

Anyways, it's fixed in svn. AFAIK, I'm ready to do an rc2 for testing over the weekend.

Let me know if anything else comes up.

Re: Moving last entry in Content Management

Posted: Thu May 12, 2005 8:58 pm
by Glenn
I'm having a major problem with a related issue. I have 216 rows in the cms_content table (just FYI), which is 11 pages in the listcontent.php window (using the default LIMIT of 20 rows in listcontent.php). I'm having problems on page 11. Maybe others, but since this site is live I'm afraid to try any others. On page 11 the hierarchy is: 5.1, 5.1.1, 5.1.2...down to 5.9, 5.10. If I try to move an item up or down in the list (move 5.10 up for example, so that 5.10 and 5.9 trade places) I end up with TWO 5.1 AND TWO 5.1.1 and 5.10 becomes 5.9.

I've posted this to Wishy on IRC, but since it is my first time on IRC I'm not sure if I'll be able to get back and get a response.

An illustration (through screenshots) of this problem, is posted here: http://www.centrum.org/cms/troubles.gif

Any help is greatly appreciated!

Re: Moving last entry in Content Management

Posted: Fri May 13, 2005 12:22 am
by Glenn
PROBLEM SOLVED!

Okay, a lot of people may have known this, but I didn't...

I continued with trial and error for several hours trying to troubleshoot this problem. At one point I had recreated a 20-page section, using the move buttons to move things up and down in the list after each new content piece I added. At one point I added a link, then tried moving a content item up in the list and it changed the hierarchy of the every item in the database (229 rows!). It was the link that was screwing everything up.

My client had created a content item (which I recreated) as type=link with this URL: /uploads/pdf/Wheeler-chart.pdf

I'm sure it wasn't the ".pdf" it must have been the "dash" in the URL! I removed the the link, updated all the hierarchies in phpMyAdmin and now it's working like a dream again.

Re: Moving last entry in Content Management

Posted: Tue May 24, 2005 4:34 am
by iNSiPiD
I happen to think the down arrow is a damn useful inclusion on the last item. In fact, what would be even handier is the ability to set an ID directly in Page List view so that newer items didn't keep getting created below it.

Come to think of it, a Show In Menu column in the same vein as the Active and Default columns would be useful too.