Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » adding different page types

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

Page: 1
Go to End
Author Topic: 1012 Views
  • unicorn7
    Avatar
    Community Member
    9 Posts

    adding different page types Link to this post

    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

  • unicorn7
    Avatar
    Community Member
    9 Posts

    Re: adding different page types Link to this post

    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.

  • gayleblx10
    Avatar
    Community Member
    1 Post

    Re: adding different page types Link to this post

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

    1012 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.