21475 Posts in 5781 Topics by 2620 members
General Questions
SilverStripe Forums » General Questions » [Solved] Prevent SS from rewriting Links in templates
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 2050 Views |
-
[Solved] Prevent SS from rewriting Links in templates

3 July 2009 at 5:59am Last edited: 4 July 2009 10:21pm
does anyone know how to prevent ss from rewiting links in the template?
i've hardcoded links in my template for jQuery ui tabs (jquery-1.3.2 / jquery-ui-1.7.2)
But SS rewrites my Links from #myfirsttab to /mydir/mypage/#myfirsttab
(I'm working locally with mamp, ss-site in localhost/mydir)This rewriting makes jQuery Tabs load the full page (/mydir/mypage/#myfirsttab) via AJAX instead of just hiding/showing the panels as expected
How can I prevent SS from rewriting my Links?
-
Re: [Solved] Prevent SS from rewriting Links in templates

4 July 2009 at 10:21pm
@willr thanks!
i already found this snippet yesterday.
additional you have to apply this bugfix to /sapphire/core/SSViewer.php to really really disable hashlink rewriting:
http://open.silverstripe.com/changeset/76529
| 2050 Views | ||
|
Page:
1
|
Go to Top |


