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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Set which Template to use

Go to End

3 Posts   934 Views


Community Member, 121 Posts

2 November 2010 at 12:56am

Would it be possible to select which template file (.ss) to use or does each page type have to be a corresponding pair? By that I mean, does Page.PHP only correspond to Page.SS or can we dictate it within the PHP file?

I want to have two template files for my Page.PHP since I will be using a multi-language set-up.

Can anyone tell me if this is possible? Thank You.


Community Member, 24 Posts

2 November 2010 at 1:18am


Community Member, 56 Posts

2 November 2010 at 11:56pm

Yes, it is very possible. I was able to implement it to object and pages in our conversion testing. :)