Jump to:

3432 Posts in 1025 Topics by 865 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: 819 Views
  • otn3m3m
    Avatar
    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.

    thanks

    819 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.