Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Trouble changing logo/company title area at top of website theme

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

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

Page: 1
Go to End
Author Topic: 1856 Views
  • Boomer T
    Avatar
    Community Member
    3 Posts

    Trouble changing logo/company title area at top of website theme Link to this post

    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.

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: Trouble changing logo/company title area at top of website theme Link to this post

    Hi BoomerT.

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

    Have you seen this tutorial?
    There you'll learn how to build a HomePage page type and the corresponding templates.

    Hope that helps,
    Cheers

  • Boomer T
    Avatar
    Community Member
    3 Posts

    Re: Trouble changing logo/company title area at top of website theme Link to this post

    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>

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: Trouble changing logo/company title area at top of website theme Link to this post

    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

  • Boomer T
    Avatar
    Community Member
    3 Posts

    Re: Trouble changing logo/company title area at top of website theme Link to this post

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

    1856 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.