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 /

how can i create different pages?


Reply


2 Posts   919 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.

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