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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

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

Site title not working correctly when using DarkShades theme


Go to End


4 Posts   1875 Views

Avatar
ThyRaven

Community Member, 3 Posts

26 February 2011 at 3:15pm

Anyone else having issues with the DarkShades theme? I went in and hard coded the sites name on the main page but when i go to any of the other pages it still shows the default install text - Your Site name

http://www.thewilfordfamily.com is the site I am working with right now

Avatar
ThyRaven

Community Member, 3 Posts

27 February 2011 at 11:48am

Adding some more to this post... looks like any theme I use except for the blackcandy is doing this. Any help? Thanks

Avatar
Invader_Zim

Community Member, 141 Posts

27 February 2011 at 12:10pm

Edited: 27/02/2011 12:14pm

Hi.

Might be a dumb question, but have you already entered a new Site Title in the CMS-Backend?

In your theme search for this code somewhere:

<h1>$SiteConfig.Title</h1>

This is where the title will appear.

Cheers

Avatar
FungshuiElephant

Community Member, 57 Posts

28 February 2011 at 4:24am

The Dark Shades template has 'Your site name' hardcoded in a few places - see Page.ss.

Either hardcode your own site name in there (not recommended but easy), or use $SiteConfig.Title and enter the title in the CMS like Invader_Zim suggests (better).

before:

<title>Your site name | $Title</title>

after:
<title>$SiteConfig.Title</title>