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

Trouble changing logo/company title area at top of website theme


Reply


5 Posts   1937 Views

Avatar
Boomer T

Community Member, 3 Posts

2 December 2008 at 9:46pm

I'm a real novice with Silverstripe 2.2.2. I see no area in site admin to place my logo at the top of the theme (replacing the placeholder e.g. Silverstripe in the Paddy Green theme) - user documentation seems to refer to editing a HomePage.ss file but my admin interface does not allow me to create one and the FTP view does not show a HomePage.ss to edit (I do see a page.ss). Does anyone have any insights?? I have a feeling that my install was faulty.

Avatar
Invader_Zim

Community Member, 141 Posts

3 December 2008 at 1:14am

Edited: 03/12/2008 4:38am

Hi BoomerT.

I think you can't edit/replace any images wich are hardcoded into a template via your CMS-admin.

Have you seen [url=http://doc.silverstripe.com/doku.php?id=tutorial:1-building-a-basic-site]this tutorial?[/url]
There you'll learn how to build a HomePage page type and the corresponding templates.

Hope that helps,
Cheers

Avatar
Boomer T

Community Member, 3 Posts

3 December 2008 at 6:53am

Thanks Invader_Zim. It was helpful to revisit the tutorial. I think part of the answer is in the code below, but my installation of Silverstripe is missing HomePage.ss under 'Layout'. I don't know why but I will play around. Your helpful comments are greatly appreciated. In the tutorial, the bit I want to change is the 'Published Website' title in red at the top.

tutorial/templates/Layout/HomePage.ss

<div id="Banner">
<img src="tutorial/images/welcome.png" alt="Homepage image" />
</div>
<div id="Content" class="typography">
$Content
</div>

Avatar
Invader_Zim

Community Member, 141 Posts

3 December 2008 at 7:49am

Hi.

You wrote:
...but my installation of Silverstripe is missing HomePage.ss under 'Layout'...

Hmm... I think thats normal, 'cause you have to create it for yourself. Or have you created one and then it disappeared somehow?

You wrote:
...the bit I want to change is the 'Published Website' title in red at the top...

When I was doing the tutorial, I used the standard blackcandy theme without being in the tutorial folder. I don't know wich theme was used by the tutorial author, but I think this red thing is just an indicator to show the developer that he is on a "Live Site" and not on a "Draft Site" or something. I don't know if this can be changed.

Hope my english was understandable, because I'm from Germany.

Cheers

Avatar
Boomer T

Community Member, 3 Posts

4 December 2008 at 2:56pm

your english is excellent - better than my German - dankje, I believe I have sorted it out