[TYPO3] Preventing auto-parse template from prefixing local anchors

Carla Froitzheim cf at cf-webservice.de
Mon Aug 7 18:47:26 CEST 2006


Arne Schmitz wrote:

>I think this one is not possible, but how would I else implement this:
>
>I want to have a link "Back to top" at the bottom of each page, so I made an 
>anchor in my HTML template:
>
><a name="top"></a>
>
>Also at the bottom of the page:
>
><a href="#top">Back to top</a>
>
>However the auto-parse template extension breaks this local anchoring. Is it 
>possible to prevent it from doing so? Replacing anything starting with a '#' 
>doesn't make sense, anyhow! 
>
Look at the property relPathPrefix of the TEMPLATE object.

Carla




More information about the TYPO3-english mailing list