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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Home link not working.


3 Posts   1155 Views


29 January 2011 at 7:28pm Community Member, 7 Posts

I'm using:

<ul id="Menu1">
      <% control Menu(1) %>
         <li><a href="#">$MenuTitle</a></li>
      <% end_control %>

But for some reason I can't click the link to my Home page. It just doesn't respond no matter what page I'm on. Anyone point me in the right direction to fix this?


29 January 2011 at 8:18pm Community Member, 244 Posts

<a href="#"> will just link you to the current page. You need to use <a href="$Link"> instead.


29 January 2011 at 8:57pm Community Member, 7 Posts

Can't believe I overlooked that... Thanks haha.