Is it possible to have more than one page set to be the default page?

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.
Locked
mikem

Is it possible to have more than one page set to be the default page?

Post by mikem »

Hi,

I changed the default page, and the original page set as the default remained checked as the default. Now both are checked.

Maybe I've stumbled onto a bug in version 0.13?

Mike
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Is it possible to have more than one page set to be the default page?

Post by Elijah Lofgren »

mikem wrote: I changed the default page, and the original page set as the default remained checked as the default. Now both are checked.

Maybe I've stumbled onto a bug in version 0.13?
I can't seem to reproduce it with either 0.13 or 1.0-svn. Was there anything special that you did when changing the default page?
Can you still reproduce this problem?
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
mikem

Re: Is it possible to have more than one page set to be the default page?

Post by mikem »

Hmm. The only thing I can think of that may have had an impact is that I deleted the page that was, at the time, the default page just before I set the new default page.

The toggle still works -- changing the default toggles off the previous default. But I still have the original problem...there are two pages listed as the default, one of which can't be toggled off.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Is it possible to have more than one page set to be the default page?

Post by Elijah Lofgren »

mikem wrote: Hmm. The only thing I can think of that may have had an impact is that I deleted the page that was, at the time, the default page just before I set the new default page.

The toggle still works -- changing the default toggles off the previous default. But I still have the original problem...there are two pages listed as the default, one of which can't be toggled off.
Hmm.. It shouldn't be possible to delete the default page. It isn't in the SVN version at least.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Is it possible to have more than one page set to be the default page?

Post by calguy1000 »

Well, it can be fixed with a simple sql query or two:
a) find the name of the bad one

Code: Select all

SELECT content_name,default_content FROM cms_content where default_content=1
this should return two rows for you.

b) fix it.

Code: Select all

UPDATE cms_content SET default_content = 0 WHERE content_name = "the bad content name"
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”