[TYPO3-dam-devel] RFC #9819: DAM Usage Information Enhancements

Dan Osipov dosipov at phillyburbs.com
Thu Dec 11 14:54:05 CET 2008


Also, what has to be done to make it work in 4.3?

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Dan Osipov wrote:
> Stan,
> 
> Thanks for a hefty patch!
> I have some questions:
> 
> Under the usage tab, the page links to the FE page, but the content 
> element links to edit the content element. That's not immediately clear. 
> Should there be a view icon, or some other indication the page links to FE?
> 
> About your tt_news comment: Are there any changes needed to dam_ttnews?
> 
> This is probably unrelated to this patch, but are bugs I discovered 
> during testing. Any ideas for these? Should I submit a bug report?
> For the first 2, it seems that an image that is inserted through the RTE 
> is rendered twice on the page...
> For 3 and 4, when choosing image properties through the RTE, it shows 
> the current image tab, but clicking any other tab causes the current 
> image tab to disappear.
> 
> Everything else looks good!
> 
> Dan Osipov
> Calkins Media
> http://danosipov.com/blog/
> 
> Stanislas Rolland wrote:
>> Hi DAM team,
>>
>> This is an SVN patch request.
>>
>> Type: Feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=9819
>>
>> Branches:
>> trunk
>>
>> Problem:
>> DAM usage information is incomplete.
>>
>> Solution:
>>
>> 1. Tracking of media usage
>>
>> Two new soft reference keys and associated soft reference parsers are
>> added: media and mediatag. These soft reference keys are added in the
>> TCA to the softref property of thoses fields that may contain references
>> to media using img tags (RTE-enabled fields), references to dam-indexed
>> files (generallly image fields), or that may contain <media> tags (plain
>> text and RTE-enabled fields). These parsers generate references that are
>> stored in table sys_refindex, thus keeping track of the records
>> references to media records.
>>
>> Parsers for typolink and typolink_tag are extended to store the
>> reference to the media if the link if to a dam-indexed file.
>>
>> If an extension like tt_news creates references to DAM media, it would
>> suffice that it configures in TCA the softref property for any column
>> that may contain references to media. Media usage by tt_news records
>> updated in the BE would thus also be tracked.
>>
>> 2. Rendering usage information
>>
>> The presentation of media usage is enhanced by showing for each media
>> and for all references:
>> - the table containing the reference to the media,
>> - the record id in the table,
>> - the column or field in the record that is referring to the media,
>> - the type of reference: link to file or to media, inserted file or
>> media, or inserted file copy.
>>
>> Information about inserted file copies is completed by combining
>> information from the dam file tracking table and the TYPO3 reference
>> index table.
>>
>> Presentation of media usage is re-writtten to adopt the ways of other
>> dam modules. It is also re-formatted on the show element window. Note
>> that the info button will always open a new window, even in link or
>> image browsers.
>>
>> Note:
>> This patch applies to current DAM trunk.
>> It should work correctly with either TYPO3 4.2 or with SVN TYPO3core
>> trunk (revision 4480), but not TYPO3 4.3-alpha1.
>>
>> Regards,
>> Stanislas
>>
>>
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 


More information about the TYPO3-team-dam mailing list