[TYPO3-english] Injecting new attributes to link tag

Robert Wildling robertwildling at gmail.com
Fri Mar 16 14:46:14 CET 2012

Hi Björn,

>> tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.dataWrap =
>> class="lightview" data-lightview-group="{field:header}"
>> data-lightview-title="{field:titleText[current]}"
>> data-lightview-caption="{field:imagecaption}"
> Hi,
> field:titleText[current] is normally not correct without processing as
> you found out.  have a look at the standard csc TS for images to find
> out how you have to split the captions.
> Björn

Hi Björn,

Thanks for your response!
I did check the standard TS processing, but I have no idea how i can add 
the result to a new a-tag attribute.

ATagParams has no stdWrap funcitonality, does it? Otherwise a thing like 
this could be possible:

tt_content.image.20.1.[...].ATagParams.stdWrap = COA
tt_content.[...].ATagParams {
	10 = TEXT
	10.value =< [...].altText
	10.wrap = data-lightview-caption="|"

I'd really appreciate your help! Thanks!

More information about the TYPO3-english mailing list