[TYPO3-rte] link classes for DAM-filelinks

Sacha Vorbeck vorbeck at TYPO3Tutor.de
Tue Nov 24 20:10:46 CET 2009


Hi,

I`m using the latest versions of DAM/RTE and 4.2.10. I tried to add a 
class download to the links pointing to files an editor selected via the 
RTE/DAM element browser:

plugin.tx_dam_tsfemediatag {
	procFields {
		file_size = 1
	}
	format = filesize
	tag {
		current = 1
		typolink.ATagParams = class="download"
		typolink.parameter.data = parameters : allParams
		typolink.extTarget = {$styles.content.links.extTarget}
		typolink.target = {$styles.content.links.target}
		typolink.title {
			dataWrap = { field : txdam_file_name } ({ field : txdam_file_size })
			htmlspecialchars = 1
		}
		parseFunc.constants = 1
	}
}

the title is rendered perfectly but the class won`t show up. Can anyone 
help me here?

-- 
thank you - all the best,
Sacha


More information about the TYPO3-project-rte mailing list