I tried to build tabs with jquery. But i recognized that my links
<a href="#tab-1">Tab 1</a>
are converted to
<a href="/#tab-1">Tab 1</a>
Because of the Slash at the beginning the tabs doesn't work. Why is Silverstripe modifiying my anchor links and how can I stop it from doeing this??
On 2.4er setup I set in _config.php
SSViewer::setOption('rewriteHashlinks', false);
not tested with 3.x and the yml config layer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With