Moving last entry in Content Management

General project discussion. NOT for help questions.
Post Reply
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Moving last entry in Content Management

Post 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:
Greg
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Moving last entry in Content Management

Post by Greg »

Weird, on my local set-up it was the down arrow - on my live site it was correct - an up arrow ?
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Moving last entry in Content Management

Post by Ted »

Sounds like a rare little buglet I should be looking for...
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Moving last entry in Content Management

Post 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.
Glenn

Re: Moving last entry in Content Management

Post 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!
Glenn

Re: Moving last entry in Content Management

Post 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.
iNSiPiD

Re: Moving last entry in Content Management

Post 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.
Last edited by iNSiPiD on Tue May 24, 2005 5:08 am, edited 1 time in total.
Post Reply

Return to “General Discussion”