[TYPO3-content-rendering] Rendering anchor with typoscript

Tobias Liegl tliegl at gmail.com
Fri May 24 09:46:37 CEST 2013


Hi,

if you don't set "config.prefixLocalAnchors = all" in your typoscript, 
you will get simple #anchors without the url-path in front of it.

Tobi


Am 24.05.13 09:11, schrieb Steve Schütze:
> Hey,
>
> i was trying to generate some simple anchors to use bootstrap scrollspy
> for example. These jquery-plugins needs to have a href like
> "#testanchor" but typo3 (version 4.5.26) in combination with realurl
> renders something like "gb/mypage.html#testanchor" in this case
> scrollspy do not work.
>
> ..
> renderObj = TEXT
> renderObj {
>      field = header
>      dataWrap=<li><a href="#m-c{field:uid}">|</a></li>
> }
>
> someone has an idea?



More information about the TYPO3-project-content-rendering mailing list