Jump to:

3445 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » sub page

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

Page: 1
Go to End
Author Topic: 829 Views
  • otn3m3m
    Community Member
    2 Posts

    sub page Link to this post

    I want to create a page called "Inner". I then want to create a subpage called "Contact" that inherits from "inner"

    I then would like to take the subtemplate and apply it to contact. What I have done is created a template called "inner" with a variable called $layout.

    I then created two subtemplates in the layout folder.

    inner.ss and contact.ss

    When i create an inner page it correctly loads the inner layout template.

    but, when i create a contact page it does not load the contact layout template.

    any help would be appreciated.


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.