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.

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   1429 Views

Avatar
animasola

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.

Avatar
mmh

Community Member, 24 Posts

2 November 2010 at 1:18am

Avatar
cuSSter

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. :)