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.

Themes

Discuss SilverStripe Themes.

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

Site title not working correctly when using DarkShades theme


Reply

4 Posts   914 Views

Avatar
ThyRaven

26 February 2011 at 3:15pm Community Member, 3 Posts

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

27 February 2011 at 11:48am Community Member, 3 Posts

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

27 February 2011 at 12:10pm (Last edited: 27 February 2011 12:14pm), Community Member, 141 Posts

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

28 February 2011 at 4:24am Community Member, 57 Posts

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>