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.


Reply


3 Posts   1241 Views

Avatar
Anirath

Community Member, 7 Posts

29 January 2011 at 7:28pm

I'm using:

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

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?

Avatar
ajshort

Community Member, 244 Posts

29 January 2011 at 8:18pm

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

Avatar
Anirath

Community Member, 7 Posts

29 January 2011 at 8:57pm

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