Hello,
I installed the theme "andreas2" (http://www.silverstripe.org/andreas02/). But now I have got a question: How can I realize that the picture withe the text "Welcome to your site!" is only shown on the homepage???
Thank your for your help!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Hello,
I installed the theme "andreas2" (http://www.silverstripe.org/andreas02/). But now I have got a question: How can I realize that the picture withe the text "Welcome to your site!" is only shown on the homepage???
Thank your for your help!
I would assume that area is a div.
So edit the template file where it is located, and do something like
<% if inSection(home) %>
div with picture here
<% end_if %>
It works perfectly!!! Thanks for the fast help!!!