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

how can i create different pages?


Go to End


2 Posts   1431 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