[TYPO3] local anchors in TV templates

Peter Klein peter at umloud.dk
Fri Mar 17 17:46:27 CET 2006


Hi Gebhardt. Try adding these 2 lines to your SETUP

page.config.baseURL = http://www.yoursite.com/
page.config.prefixLocalAnchors = all

Remember to change the 1st line to the url of your site..

---
Peter Klein / Umloud Untd.

"Gebhardt Thomas" <gebhardt at hrz.uni-marburg.de> wrote in message 
news:mailman.13384.1142606003.3122.typo3-english at lists.netfielders.de...
> Hi,
>
> I ran into trouble when I tried to use local anchors in TemplaVoila 
> templates,
> namely implementing a skiplink navigation.
>
> In the template I jump to a local anchor:
>
> +++++++++
> <a class="skip" href="#menu_main_entry" title="Jump to the
> Navigation">Navigation</a>
> ...
> <a id="menu_main_entry" name="menu_main_entry"></a>
> +++++++++
>
> But TV changes the local link to a relative link:
>
> +++++++++
> <a class="skip" href="fileadmin/templates/#menu_main_entry" title="Jump to 
> the
> Navigation">Navigation</a>
> ...
> <a id="menu_main_entry" name="menu_main_entry"></a>
> +++++++++
>
> Is this a known problem? Or did I miss something?
>
> (I'm using TYPO3 3.8.1 and TV 0.40)
>
> Thank you for any hint! Cheers, Thomas 





More information about the TYPO3-english mailing list