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.
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.
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
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>
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
your english is excellent - better than my German - dankje, I believe I have sorted it out