[TYPO3-english] R: Typo3 internal anchors with Typoscript

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Mon Nov 9 10:21:37 CET 2009


There is something wrong with my Windows today! Hope this is the right
time!
Let's recall:

Using:

1 = TEXT
1.data = LLL:fileadmin/templates/bhuman/assets/other/locallang.xml:link1
1.wrap = <li><a href="#content" tabindex="1">|</a></li>

Every time I use the crawler I obtain:

<a href="index.php?id=1#content" tabindex="1">content</a>

Not very pleasant to see.

Maybe I found the answer:

lib.jumpMenuHome{
	wrap =  <ol class="invisible4">|</ol>

	1 = TEXT
	1.data =
LLL:fileadmin/templates/bhuman/assets/other/locallang.xml:link1
	1.typolink.target =
	1.typolink.addQueryString = 1
	1.typolink.parameter = #header
	1.typolink.ATagParams = tabindex="1"
	1.wrap = <li>|</li>
}

Seems to work

Thanks

**************************************
Riccardo De Contardi
 
B Human Srl - www.bhuman.it 
Via Canzio, 15 - 20131 Milano
Tel +39.02 20 23 271 - Fax +39.02 20 240 561

-----Messaggio originale-----
Da: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] Per conto di Bernhard
Kraft
Inviato: sabato 7 novembre 2009 2.03
A: typo3-english at lists.typo3.org
Oggetto: Re: [TYPO3-english] Typo3 internal anchors with Typoscript

De Contardi Riccardo schrieb:

>             1 = TEXT
>             1.data =
LLL:fileadmin/templates/bhuman/assets/other/locallang.xml:link1
>         1.typolink.target =
> 
>             1.typolink.parameter = #header
> 
>             1.typolink.ATagParams = tabindex="1"
> 
>             1.wrap = <li>|</li>
> 

In your case I would not use the "typolink" method here. You should use
this
method when you link to some page, etc, as it gets handled by realURL
etc.

In your case I would simply wrap a static <a> tag around your LL-Label

1 = TEXT
1.data = LLL:fileadmin/templates/bhuman/assets/other/locallang.xml:link1
1.wrap = <li><a href="#content" tabindex="1">|</a></li>

;) quite simple? Isn't it ?


greets,
Bernhard
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list