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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

how can i create different pages?


Go to End


2 Posts   1157 Views

Avatar
emmu

Community Member, 2 Posts

13 June 2009 at 7:58pm

hi guys,
i ve jus started using silverstripe, i want to know the method of creating different pages, ie each page should contain different background, designs etc. and i also want to know wether i can create like home page calls page.ss, so it takes the same as default for all the pages but i want it to be different layout for each page so can i create like about.ss for about us page.

Avatar
Howard

Community Member, 215 Posts

13 June 2009 at 8:41pm

Yup, that is pretty easy to do. I suggest starting out you go through the first couple of tutorials to show you how the different pages work. Basically you create a new page such as HomePage.php then create a template for it HomePage.ss and it automatically uses the template that has its same name. But yea tutorials will walk you through it.

http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site
http://doc.silverstripe.org/doku.php?id=tutorial:2-extending-a-basic-site