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.

Archive

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

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

Site name and tagline


Go to End
Reply

11 Posts   7566 Views

Avatar
albill

17 September 2007 at 6:38pm 7 Posts

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

Avatar
trevor

17 September 2007 at 8:03pm 53 Posts

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

Avatar
albill

17 September 2007 at 8:29pm 7 Posts

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

Both of these are empty.

Avatar
albill

17 September 2007 at 8:32pm 7 Posts

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.

Avatar
trevor

18 September 2007 at 1:39am 53 Posts

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

Avatar
thm

24 September 2007 at 11:34pm 5 Posts

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.

Avatar
Starman

24 December 2007 at 9:14am (Last edited: 24 December 2007 9:16am), Community Member, 2 Posts

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.

Avatar
guru.cat

3 February 2008 at 10:41am 6 Posts

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!

Go to Top