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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

How to change $Layout theme?


Go to End
Reply


10 Posts   4712 Views

Avatar
ojalà

Community Member, 87 Posts

9 October 2008 at 10:09pm

Sorry, I try your solution but nothing change..How can I use my new template NewsArchive.ss instead of Page.ss? Is there a point in CMS administation where is ask me to change template?I create NewsArchive.ss template and put in tutorial/template/Layout with Page.ss is correct? or is necessary to put inside tutorial/template?

If I create new page type is more fast and easy?

Avatar
CodeGuerrilla

Community Member, 105 Posts

10 October 2008 at 12:43pm

Edited: 10/10/2008 12:44pm

Refer to tutorial 1

http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site#using_a_different_template_for_the_home_page

You probably not using $Layout in your main template?

Go to Top