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.

Customising the CMS /

making 2-3 different template


Reply


2 Posts   707 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, 5513 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.