[TYPO3-dam-devel] RFC #12778: Add softref parser for related DAM records

Thorsten Kahler thorsten.kahler at dkd.de
Mon Dec 14 14:55:50 CET 2009


Hi DAM team,

this is a SVN patch request.
Branches: trunk, 1.1 (?)
BT Reference: <http://bugs.typo3.org/view.php?id=12778>

DAM already provides some "softref parsers" to keep track of DAM records
related to text fields (usually RTE fields). Since mm-relations to DAM
aren't defined as "normal" TYPO3 relations, a softref parser for records
related via tx_dam_mm_ref is also necessary.

The attached patch adds a softref parser function to class
tx_dam_softrefproc and registers it in file tca_media_field.php to all
TCA definitions generated by an API call to txdam_getMediaTCA().

Note: the softrefs are required to include ((static) references to) DAM
records in .t3d exports.

Regards
Thorsten

-- 

Thorsten Kahler
thorsten.kahler at dkd.de


More information about the TYPO3-team-dam mailing list