[TYPO3-dam] Extra fields in DAM records only for certain file types
georg kuehnberger
georg at georg.org
Wed Apr 2 16:19:27 CEST 2008
Richard,
How about re-defining the dam types according to your needs:
dam/lib/tx_dam_types.php
and then optionally modifying the tca see
ext/dam/tca.php
according to your needs; should both be doable with an extension;
regards georg
Richard Bausek wrote:
> Hi,
>
> I'm currently working on an extension where I want to save custom
> slideshow data (duration, transitions,...) in DAM records. That worked
> out with no problem, but now I want to have the extra fields displayed
> only for certain file types(jpg,gif,png,swf,flv).
>
> Currently the "showitems" definition is based on the 12 internal DAM
> media types. I could give the new fields to all records of type "Image"
> or "Interactive", but i would prefer a more precise approach based on
> the file type.
>
> For example: .ppt has the type "Interactive", but it makes no sense to
> show my custom fields there.
>
> Any clues how to do that?
>
> Thanks alot and have a nice day!
>
> Richard
More information about the TYPO3-project-dam
mailing list