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.

We've moved the forum!

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.

General Questions /

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

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

Home link not working.


Go to End


3 Posts   1744 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.