Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Cant create page type anymore.....


Reply

346 Views

Avatar
wilsonStaff

25 January 2012 at 6:06am Community Member, 142 Posts

Hi guys, heres a portrait de la situation....

FACTS -> MembreHolder page type can allow children (MembrePage) to be added to itself.
FACTS -> It used to work..... see below
PROBLEM -> its not working anymnore. related to the ?isDev=1?debug_profile=1 i did???? it dont know. You tell me.

TRIAL -> I create a new MembreHolder section named ZZ
TRIAL -> I tried to create a new MembrePage within
RESULTS -> nothing. Clicking GO button do nothing

TRIAL -> I remove allow children MembrePage within MembreHolder class so i can add ANY page type into MembreHolder
TRIAL -> I create a new MembreHolder section named ZZ
TRIAL -> I tried to create a new Page within
RESULTS -> its works

So problem is related to MembrePage class.

TRIAL -> I duplicated MembrePage class to MembrePage2 class
TRIAL -> I modified MembreHolder to allow 2 children (MembrePage and MemberPage2)
RESULTS -> no change

TRIAL -> I tried to duplicate a membre page into the site tree (in the left column of the CMS. Seems cant do that..)
RESULTS -> dont know what to try....

Is there a way to replace MembrePage class ny MembrePage2 (which would be a duplicate of MembrePage) to wake-up the DB?

Any help appreciated.