Page 1 of 2

Multiple currentpage – bug? [PARTLY SOLVED]

Posted: Tue Jul 07, 2009 1:36 pm
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?

Re: Multiple currentpage – bug?

Posted: Tue Jul 07, 2009 1:37 pm
by volcanoboy
running CMS Made Simple 1.6 "New Caledonia" btw.

Re: Multiple currentpage – bug?

Posted: Tue Jul 07, 2009 1:42 pm
by volcanoboy
I also just noticed that they have the same page prefix in the Pages menu:

Re: Multiple currentpage – bug?

Posted: Thu Jul 09, 2009 6:13 am
by volcanoboy
any idea what's going on?

Cheers.

Re: Multiple currentpage – bug?

Posted: Thu Jul 09, 2009 6:43 am
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

Re: Multiple currentpage – bug?

Posted: Thu Jul 09, 2009 7:23 am
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

Re: Multiple currentpage – bug?

Posted: Thu Jul 09, 2009 7:47 am
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!

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 7:50 am
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.

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 7:52 am
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

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:01 am
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.

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:10 am
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.

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:18 am
by RonnyK
How did you move it.... Using the arrows, or the pulldown in editcontent?

Ronny

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:25 am
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.

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:26 am
by volcanoboy
If you want to check this out for yourself i can make a user for you on the site.

Re: Multiple currentpage – bug? [SOLVED]

Posted: Thu Jul 09, 2009 8:32 am
by RonnyK
OK.... Confirmed...

I could reproduce with your steps...

thanks.

Ronny