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

Using rewrite_hash_links on a single link.


Go to End


2 Posts   828 Views

Avatar
Legin76

Community Member, 11 Posts

20 February 2016 at 6:37am

How can I set rewrite_hash_links to false for a single link.

<a href="#menu" class="menu-button"><span class="glyphicon glyphicon-menu-hamburger"></span></a>

I have a link in my page.ss. The link initiates the menu but is broken by the hash rewrite.. I turned it offrewrite_hash_links for the whole site but then anchor links were broken.

Avatar
Legin76

Community Member, 11 Posts

24 February 2016 at 10:23pm

Any thoughts on this? I'm really stuck.