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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

adding different page types


Go to End


3 Posts   1716 Views

Avatar
unicorn7

Community Member, 9 Posts

30 October 2009 at 12:17am

Hi guys

working through the tutorial as I am building my site. i have setup a separate homepage.ss and page.ss. I then used this theory to create a third type to see what would happen. I based the third page called products on the same method as homepage and created a .php version in mysite/code to site alongside homepage.php.

an option came up in CMS so that i could choose products as a page type. however when i altered the code in products.ss nothing would happen. it seemed to still be connected to page.ss.

how do i get around that?

best regards
unicorn7

Avatar
unicorn7

Community Member, 9 Posts

5 November 2009 at 12:56am

Just realised after reading the tutorial a third time that there needs to be changes made to the area outside of the layout/content section to validate a new page otherwise the page is rendered as default page.ss.

Avatar
gayleblx10

Community Member, 1 Post

26 May 2010 at 9:44pm

unicorn - this was my problem as well....but you just answered it for me. Thanks