Tags innerhalb eines linkWraps

0 Kommentare | Rubrik: Allgemein

 

Im Normalfall funktioniert ist die Standardfunktionsweise des linkWrap in Typo3 ausreichend. Erst kommt der linkWrap und innerhalb dieses Wraps der A-Tag für den Link. Will man nun aber innerhalb des A-Tags Code erzeugen hilft folgende Konfiguration.

Ja man kann innerhalb eines Linkwraps HTML-Code einfügen. Standardmäßig funktioniert der linkWrap in Typo3 mit folgendem TS

linkWrap = <div class="xx">|</div>

Es wird folgender HTML-Code erzeugt:

<div class="xx"><a href="blabla">Mein normaler Titel</a></div>

Will man nun aber innerhalb des A-Tags weiteren Code einfügen muss man eine weitere Konfiguration in Typo3 vornehmen.

ATagBeforeWrap = 1
linkWrap = <div class="xx">|</div>

Somit wird der linkWrap innerhalb des A-Tags erzeugt und man erhält diesen HTML-Code

<a href="blabla"><div class="xx">Mein normaler Titel</div></a>
Einen Kommentar schreiben

Email wird nicht veröffentlicht.


Aktuelles aus Typo3

Bookmark setzen

bookmark in your browserbookmark at mister wongpublish in twitterbookmark at del.icio.usbookmark at digg.combookmark at furl.netbookmark at linksilo.debookmark at reddit.combookmark at spurl.netbookmark at technorati.combookmark at google.combookmark at yahoo.combookmark at facebook.combookmark at stumbleupon.combookmark at propeller.combookmark at newsvine.combookmark at jumptags.com