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.

Template Questions /

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

sub page


Go to End


1320 Views

Avatar
otn3m3m

Community Member, 2 Posts

11 September 2010 at 2:23pm

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