Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
General Questions
SilverStripe Forums » General Questions » $MenuTitle Links
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|
Page:
1
|
Go to End | |
| Author | Topic: $MenuTitle Links | 189 Views |
-
$MenuTitle Links

5 July 2009 at 8:43am
A ridiculous newbie question I fear - I've added a navigation element as per the getting started tutorial:
<ul id="Menu1">
<% control Menu(1) %>
<li><a href="$Link">$MenuTitle</a></li>
<% end_control %>
</ul>But seeing the following in the actual published template:
Home (/silverstripe/) About Us (/silverstripe/about-us/) etc..
i.e. the relative url path is being published within the a link text. I guess that's some sort of helper function.
How do I disable that?
Thanks
-
Re: $MenuTitle Links

5 July 2009 at 9:35am
<% control Menu(1) %>
<li><a href="$Link" title="$Title.XML" class="$LinkingMode"><span>$MenuTitle</span></a></li>
<% end_control %>
| 189 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: zueri, swaiba, Euphemismus, dendeffe
Welcome to our latest member: GreenWork


