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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SilverStripe Themes Creation


Reply


2 Posts   659 Views

Avatar
bunheng

Community Member, 78 Posts

13 October 2010 at 10:08pm

Hi,

I have been trying to many time to work on new themes for SilverStripe, I have some doubt come to my head regarding labeling the section of themes. I checked the themes come silverstripe, I found they have the following section:

1. $Navigation
2. $Footer
3. $Sidebar

I would like to know is it possible if we use another name instead such as

1. $mainmenus
2. $bottom
3. $leftpanel

i have tried but it doesn't work.

Please help.

Avatar
Willr

Forum Moderator, 5513 Posts

14 October 2010 at 12:29am

Do you mean defining new content areas? Well the themes don't support adding new fields to the CMS so you have to either stick with the fields defined in the other themes ($SiteConfig vars, $Content, $Title) and then hard code sidebars and any of your new panels. You may then want to provide instructions for users on to how to add new fields to the CMS

http://doc.silverstripe.org/tutorial:2-extending-a-basic-site#adding_date_and_author_fields