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.

Themes

Discuss SilverStripe Themes.

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

SimpleStripe: Home link doesn't work


Reply

4 Posts   1797 Views

Avatar
Lone_Deranger

11 February 2011 at 2:57am Community Member, 3 Posts

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?

Avatar
swaiba

11 February 2011 at 5:34am Forum Moderator, 1796 Posts

edit the offending template replacing "home" with $Link or $BaseHref etc.

Avatar
truls

5 August 2011 at 1:01am (Last edited: 5 August 2011 1:10am), Community Member, 1 Post

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

Avatar
UKBadger

13 September 2011 at 8:53pm (Last edited: 13 September 2011 9:45pm), Community Member, 3 Posts

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