Multiple currentpage – bug? [PARTLY SOLVED]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
volcanoboy

Multiple currentpage – bug? [PARTLY SOLVED]

Post by volcanoboy »

hi,

don't understand what's happening here. I was moving some pages back and forth to different parents to show a client how to manage the pages. but it seems that after i moved it back to it's original parent it added the currentpage tag to other subpages.

like this:

Code: Select all

<ul>
<li class="currentpage"><h3><span>Pågående prosjekter</span></h3>
<ul>

<li class="currentpage"><h3><span>Elveparken Bryne</span></h3>
</li>

<li class="currentpage"><h3><span>Undergang forus</span></h3>
</li>

<li class="currentpage"><h3><span>Madla Næringsenter</span></h3>
</li>
Link to website

As you can see if you click one of the top 3 menuoptions they all get the same formatting and are unclickable.

Am I missing the obvious here or is this a bug?
Last edited by volcanoboy on Thu Jul 09, 2009 8:41 am, edited 1 time in total.
volcanoboy

Re: Multiple currentpage – bug?

Post by volcanoboy »

running CMS Made Simple 1.6 "New Caledonia" btw.
volcanoboy

Re: Multiple currentpage – bug?

Post by volcanoboy »

I also just noticed that they have the same page prefix in the Pages menu:
Attachments
Picture 2.png
volcanoboy

Re: Multiple currentpage – bug?

Post by volcanoboy »

any idea what's going on?

Cheers.
JeremyBASS

Re: Multiple currentpage – bug?

Post by JeremyBASS »

Hello, so I'm sure this is a known issue , thou it was thought to be fixed... So here is the problem.. you need to know how you did it... tell us here how you produced the issue in more detail... If I was a betting man I'd think you where moving content around and clicked too fast causing the miss ordering... if that is true on how it started then indeed this is the same issue..

Regardless to how you did it the solution is the same to fix it... two ways make 3 pages to delete and shuffle them to the top and delete them off which should fix it... and the other way whcih may be faster is to go for the db and make the change.. I'd look thru the forum.. I know I have a post on here about how to fix it.. but there may be more...

Hope this helps..
Cheers
Jeremy
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Multiple currentpage – bug?

Post by RonnyK »

Is this an upgraded site?

This was a known issue before, where the numbering of the pages doubled.

Fixing this, is done by pressing the re-order pages button on the listcontent-page, and press submit there. The ordering will be re-calculated.

So if this site was upgraded, the ordering might already have been wrong, which isnt touched in the upgrade, but the 1.6 version shouldn't introduce the wrong ordering.

Ronny
volcanoboy

Re: Multiple currentpage – bug?

Post by volcanoboy »

actually it's fresh install of the latest version 1.6 "New Caledonia". My previous site on the same server was so old (1.2.3 "Black Rock") that i just made a fresh install of cms in a sub directory instead of upgrading. Alltho it use the same DB but don't see how that would matter.

this is how it happened.
I was giving the client a brief tutorial on how to manage the site. So i was moving a page (3.1.1) to be within 3.2.2, 3.2.3 and 4. Then I moved it back again to it's original position. All this was done using the parent drop down in edit page and pressing apply.

Anyways, I did not know what the Reorder Pages function did but it did the trick for me. So my problem is solved :-)

cheers!
volcanoboy

Re: Multiple currentpage – bug? [SOLVED]

Post by volcanoboy »

Added [SOLVED] to the topic title since the Reorder Pages solved my problem for now.
The reason for the "bug" is still unclear.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Multiple currentpage – bug? [SOLVED]

Post by RonnyK »

You mean that you installed fresh, but pointed to the existing DB that was 1.2.3 (and thus holding the data that was already in ?)

Because if so, the ordering was already wrong in the 1.2.3 and the new 1.6 logic should NOT make it possible to have the ordering wrong.

Could you describe a little more if you entered the content in the 1.6 install, or that the content was already in earlier?

Ronny
volcanoboy

Re: Multiple currentpage – bug? [SOLVED]

Post by volcanoboy »

Fresh install, same DB, but different tables. I just added 2009 to the database table prefix when i installed the new cms.
So my new install was like an install on a new server. I manually created all the new pages and copy/pasted the content from the "Edit HTML Source" window from the old pages.
volcanoboy

Re: Multiple currentpage – bug? [SOLVED]

Post by volcanoboy »

I just tried to do the same thing agin to test it.

I moved page 3.1.1 so that it changed to 3.2.5, then to 4.1, then to 5.3, then back to 3.1.1 and it produced the same problem as before. The first 4 pages within 3.1 now all are 3.1.1.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Multiple currentpage – bug? [SOLVED]

Post by RonnyK »

How did you move it.... Using the arrows, or the pulldown in editcontent?

Ronny
volcanoboy

Re: Multiple currentpage – bug? [SOLVED]

Post by volcanoboy »

same as before. I used the Parent dropdown on Edit page, pressed the APPLY button and refreshed the webpage in another tab to see the changes.
volcanoboy

Re: Multiple currentpage – bug? [SOLVED]

Post by volcanoboy »

If you want to check this out for yourself i can make a user for you on the site.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Multiple currentpage – bug? [SOLVED]

Post by RonnyK »

OK.... Confirmed...

I could reproduce with your steps...

thanks.

Ronny
Locked

Return to “CMSMS Core”