Page 1 of 1

Page disappear in admin [solved]

Posted: Thu Jan 28, 2010 10:12 am
by nmotion
I have a page that is clearly visible in the menu on the live site.

However, in the admin under pages I can't find it.

Another strange thing is that if I edit another page and click on the internal link icon in the WYSIWYG editor it lists the page as well.

But again, not on the pages page.

Re: Page disappear in admin

Posted: Fri Jan 29, 2010 3:17 pm
by Rolf
Hi nmotion

This page your are talking about, is this a regular content page? Or one with the contenttype album, guestbook, etc.?
What version do you use? System Information?

Regards, Rolf  :)

Re: Page disappear in admin

Posted: Mon Feb 01, 2010 1:46 pm
by nmotion
Versions:
CMS Made Simple 1.6.6 "Bonde"
Album 0.9.3

It is a album page.

Re: Page disappear in admin

Posted: Mon Feb 01, 2010 2:03 pm
by Rolf
nmotion wrote: It is a album page.
I thought so...  ;)

The content type field has changed in the release 1.6, therefore all pages made with a contenttype of a module aren't shown in the admin anymore. In the changelog this was mentioned...
You have to make a small modification to your database to solve this.

1. Create a backup of your database with phpmyadmin first!
2. Open the table 'cms_content'.
3. Open the tab 'browse'
4. In the column 'type' you can see the contenttype of all pages.
5. By clicking the pencil on the left you can change the content of the table.
6. Change the 'type' from albumcontent to content
7. The page will be visible in the admin again
8. Put the tag {cms_module module="album" albums="your-album-id"} in the content of the page.
You have to do this for all pages with an album in it.

And you are ready to go!

Regards, Rolf

Re: Page disappear in admin

Posted: Mon Feb 01, 2010 7:13 pm
by nmotion
It worked - Thanks!