Jump to:

1382 Posts in 491 Topics by 521 members

Themes

SilverStripe Forums » Themes » Editing the theme (newbie)

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 3666 Views
  • Tigerpie
    Avatar
    Community Member
    10 Posts

    Editing the theme (newbie) Link to this post

    Gday,
    I have just installed, WampServer and Silverstripe as well as a theme I downloaded from Silverstripe.

    Everything is working and seems fine, but I was wondering the following.

    1) Should I be editing the original downloaded theme files, which are now located in C:\wamp\www\SilverStripe\themes\Ablaze3
    as an example, or should I be creating a site in C:\Wamp\MY NEW SITE and putting the theme in there?

    2) I have tried to have a look around the website but cant find a tutorial on how to implement the forum or blog that comes with the theme I have downloaded..Ablaze2 http://demo.silverstripe.com/?theme=Ablaze2

    The CMS part of SilverStrip seems nice and is a really nice setup but Im just stuck on how to implement different themes into different sites in the most efficient manner.

    Cheers Guys

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Editing the theme (newbie) Link to this post

    You dont have to duplicate the theme, and edit it in the mysite. All the theme must be in the themes folder, and you can edit any template, css, or javascript which is inside you themes directory (C:\wamp\www\SilverStripe\themes\Ablaze3 )

    This tutorial will help you to build your themes.

    http://doc.silverstripe.com/doku.php?id=themes:developing

  • Tigerpie
    Avatar
    Community Member
    10 Posts

    Re: Editing the theme (newbie) Link to this post

    Thanks for that Nivanka,
    Still getting my head around the set up of Silverstripe though.

    I have read a bit of the tutorial you put the link up for, as well as going through the initial tutorial.

    What if i want to make 2 sites, based on a particular theme? Such as the ablaze3 theme?

    I think i am begging to understand the concept of the root of the silverstripe folder and the themes directory, but i was hoping to work out how to use silverstripe to build more then one site at a time, using the same theme?

    It doesnt seem to be as straight forward as when you use say dreamweaver and just have 2 site folders inside the www directory.
    www/site1
    www/site2

    then you can load up each individual website in your browser.....can this be done with silverstrip?

    Would i need to put the entire silverstripe directory as a "sub folder" of the websites root directory?
    so something like
    www/site1/silverstripe
    www/site2/silverstripe

    etc etc????????/

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Editing the theme (newbie) Link to this post

    Hi,

    Yes you can have two or many different SilverStripe installations on the same server, but for each and every installation you will need to have a separate database.

    Or else you can use the multi site module.

    3666 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.