Jump to:

23355 Posts in 17838 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » SilverStripe Themes Creation

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

Page: 1
Go to End
Author Topic: 582 Views
  • bunheng
    Avatar
    Community Member
    76 Posts

    SilverStripe Themes Creation Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: SilverStripe Themes Creation Link to this post

    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

    582 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.