Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on Re: [TYPO3] local anchors in TV templates within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi! I had the same problem, but I managed to find a solution. Simply create the whole skiplink navigation by ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi!
I had the same problem, but I managed to find a solution. Simply create the whole skiplink navigation by typoscript like this: lib.skip_navigation = COA lib.skip_navigation { 10 = TEXT 10.value = Skip to content [Alt(+Shift)+1] 10.typolink.target = 10.typolink.parameter = #content 10.typolink.ATagParams = accesskey="1" 10.wrap = <li>|</li> 20 = TEXT 20.value = Skip to navigation [Alt(+Shift)+2] 20.typolink.target = 20.typolink.parameter = #navigation 20.typolink.ATagParams = accesskey="2" 20.wrap = <li>|</li> } I haven't tried this with RealURL, though... Regards, Flo Gebhardt Thomas schrieb: > 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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Re: [TYPO3] Anchors do not show in draft view | Sara Weale | typo3-english@lists.netfielders.de | 0 | 17.07.2007 15:48 |
| [TYPO3-timtab] Add anchors to comment link please | Yannick | typo3-project-timtab@lists.netfielders.de | 2 | 22.05.2007 16:53 |
| [TYPO3] Creating anchors with the rich text editor | Robert John de Stigter | typo3-english@lists.netfielders.de | 2 | 06.05.2007 09:08 |
| [TYPO3-templavoila] treatment of links and anchors in TV | Tomas Broeker | typo3-project-templavoila@lists.netfielders.de | 4 | 15.02.2007 20:57 |
| [TYPO3] anchors | Jamie Lawrence Jenner | typo3-english@lists.netfielders.de | 6 | 04.12.2006 16:50 |