17452 Posts in 4473 Topics by 1971 members
Page: 1 2
|Go to End||Next >|
17 September 2007 at 6:38pm
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".
17 September 2007 at 8:03pm
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.
17 September 2007 at 8:29pm
In /mysite/templates, there are two directories:
Both of these are empty.
17 September 2007 at 8:32pm
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.
18 September 2007 at 1:39am
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.
24 September 2007 at 11:34pm
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.
24 December 2007 at 9:14am Last edited: 24 December 2007 9:16am
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.
At the top of the BODY is
<h1>Your Site Name</h1>
<p>your site's tagline here</p>
Change it, save it, and reload the site with ?flush=1 on the end of the URL.
3 February 2008 at 10:41am
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?
Page: 1 2
|Go to Top||Next >|