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.

Customising the CMS /

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

making 2-3 different template


Go to End


2 Posts   1116 Views

Avatar
melee

Community Member, 3 Posts

4 March 2011 at 12:07am

Hi Guys,

This is my second post and I am very interested to learn this silverstripe CMS. Actually, I am doing some skinning on our company website.

My Problem are, what if I have 2 template design example on the home it has different design and about us as well . Could you point me how can I do that two pages.ss.

I sorry but this is my first time to customize and skin the theme using SilverStripe. Looking forward for your response.

Leslie

Avatar
Willr

Forum Moderator, 5523 Posts

12 March 2011 at 5:59pm

Have a look at tutorial 2 in the documentation. This tutorial explains the concepts of 'Page Types' each page type has it's own .ss file and is the easiest way to have different templates for each. Normally you would create a HomePage page type and have a HomePage.ss and a Page.ss at least.