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.

General Questions /

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

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

SilverStripe Themes Creation


Go to End


2 Posts   882 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, 5523 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