[TYPO3] typolink.ATagParams

Peter Klein peter at umloud.dk
Fri Mar 3 16:03:26 CET 2006


"Peter Klein" <peter at umloud.dk> wrote in message 
news:mailman.1.1141398092.9510.typo3-english at lists.netfielders.de...

Looks like some linefeeds vanished in my previous msg.. So here it is 
again..

Then at the top of your typoscript SETUP, you insert a line like this:

includeLibs.userFunc= fileadmin/userFunc.inc

Now you are ready to use the function in your "typolink" setups, where you 
add it to your existing
typolink code like this:

 typolink.userFunc = user_userFunc->addAttributes
 typolink.userFunc.aTagParams.dataWrap = alt="{field:title}" 
title="{field:title}"


The extra "aTagParams" are then added to the normal "aTagParams"

---
Peter Klein / Umloud untd








More information about the TYPO3-english mailing list