Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Site name and tagline

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

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

Page: 1 2
Go to End
Author Topic: 7410 Views
  • albill
    Avatar
    7 Posts

    Site name and tagline Link to this post

    I'm just full of questions.

    For the life of me, I can't figure out where you set the site's name and tagline. Do I have to edit a file outside of the CMS to do it or can I do it internally? I've gone through all of the options and don't see anywhere to enter it so my site is called "Your Site Name".

  • trevor
    Avatar
    53 Posts

    Re: Site name and tagline Link to this post

    Hi,

    Have a look in mysite/templates under the directory where you have installed SS, you will find a template/view file called page.ss in this file you should find a div line <div id="Header"> in this section you should see the text for the site name and tag line. If you have installed the tutorial then there will be no site name but you should find the <div>.

    I suggest you read through the tutorial http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site this will help you understand the role of the templates.

    If you change the template you have to flush the cache that SS keeps by adding ?flush=1 onto the end of your url of your installation ie localhost/silverstripe?flush=1.

    HTH

    Trevor

  • albill
    Avatar
    7 Posts

    Re: Site name and tagline Link to this post

    In /mysite/templates, there are two directories:
    Includes
    Layout

    Both of these are empty.

  • albill
    Avatar
    7 Posts

    Re: Site name and tagline Link to this post

    Looking under /themes/blackcandy/templates, I find a Page.ss file though.

    You'd think that you'd be able to configure the site name and tagline WITHIN the actual CMS software though.

  • trevor
    Avatar
    53 Posts

    Re: Site name and tagline Link to this post

    There isn't a site name and tag line within the cms as this depends how you want to design your layout as you may have this info within an image.

    Which installation option did you use? If you choose the Black candy option when you install then the file you mention is put into the mysite/template/page.ss file and from here you can tailor to your requirements.

    Read through the tutorial this is all explained and will help improve your understanding of how the information is presented.

    Regards

    trevor

  • thm
    Avatar
    5 Posts

    Re: Site name and tagline Link to this post

    I noticed the same thing as albill.

    I chose to install blackcandy during installation, but there is not page.ss file under /mysite/templates. In fact there are only the two empty folders in /mysite/templates. ie includes and layout.

    The only instance of page.ss is in /themes/templates. I installed 2.1.0 rc1 if that helps.

  • Starman
    Avatar
    Community Member
    2 Posts

    Re: Site name and tagline Link to this post

    Albill,

    I presume that you are still in the blue coloured default theme - I had the same "problem" and eventually found the heading as part of the BlackCandy theme.

    Edit themes/blackcandy/templates/Page.ss

    At the top of the BODY is

    <div id="Header">
       <h1>Your Site Name</h1>
       <p>your site&#39;s tagline here</p>
    </div>

    Change it, save it, and reload the site with ?flush=1 on the end of the URL.

  • guru.cat
    Avatar
    6 Posts

    Re: Site name and tagline Link to this post

    So, is it possible to change the "Your Site Name" and "your site's tagline here" or should I do it by editing the files directly?

    Difficult start!

    7410 Views
Page: 1 2
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.