Hello,
I installed the SimpleStripe theme. However, the link "home" at the top of the page does nothing when I click on it. How can I fix this?
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 SimpleStripe theme. However, the link "home" at the top of the page does nothing when I click on it. How can I fix this?
edit the offending template replacing "home" with $Link or $BaseHref etc.
I had the same problem.
Downloaded latest simplestripe from https://github.com/Silverstriper/SimpleStripe
After editing simplestripe/templates/Layout/Homepage.ss
<article id="homeAbout" class="grid_4">
# $HomeCol1
$Link
</article>
Now it works in Firefox, IE and Chrome
Hi
I'm having the same issue.
My HomePage.ss looks like this:
<article id="homeAbout" class="grid_4">
# $HomeCol1
$Link
</article>
But the home link still does not work.
Viewing the source of the page I get this:
<li><a href="/" title="Go to Home Page" class="link"><span>Home</span></a></li>
which looks ok to my novice eyes.
I've flushed the cache and even done a dev/build but still no joy. What else could be wrong?
Any help is appreciated.
Thanks
UPDATE: Ok I changed the $Link to {$Link} and it now seems to work