TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

Re: [TYPO3] local anchors in TV templates

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 ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 08.01.2008, 14:38
Florian Seirer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] local anchors in TV templates

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:26 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39