[TYPO3-dam] Rendering the <media> tag

Olivier Schopfer ops at wcc-coe.org
Wed Jan 21 15:53:21 CET 2009


Friends,

I'm trying to change the rendering of the media tag, to add Google tracking.

I've tried this TypoScript setting:

plugin.tx_dam_tsfemediatag.tag.typolink.ATagParams.dataWrap = 
onClick="javascript:pageTracker._trackPageview('{ field : 
txdam_file_path }{ field : txdam_file_name }');"

Unfortunately, the DAM fields are not rendered in ATagParams.dataWrap

The rendered result is:

<a onclick="javascript:pageTracker._trackPageview('');" target="_self" 
title="EWN_Right_to_Water.pdf (1.4 MB)" 
href="fileadmin/files/wcc-main/documents/p4/ewn/resource_database/EWN_documents/EWN_Right_to_Water.pdf">Identifying 
and Addressing Violations of the Human Right to Water</a>

Is this a bug?

Olivier


More information about the TYPO3-project-dam mailing list