[TYPO3-english] Injecting new attributes to link tag

Robert Wildling robertwildling at gmail.com
Sun Mar 18 11:26:36 CET 2012


Nobody?

Am 16.03.12 14:46, schrieb Robert Wildling:
> 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