[TYPO3-dam] Media types and file types

Francois Suter fsuter at cobweb.ch
Mon May 26 09:51:16 CEST 2008


Hi Uschi,

> 1) Where in the code can I find out which file type will end up under 
> which main media type?

It's in EXT:dam/lib/tx_dam_types.php. It's all stored in 
$GLOBALS['T3_VAR']['ext']['dam'][...]

> 2) Is there a way to change that preconfiguration?

I suppose you can try changing that in your typo3conf/localconf.php or 
create an extension change it in your extension, provided your extension 
is loaded after the dam. This is really messy and I wonder why it's not 
in $TYPO3_CONF_VARS, but maybe there's something I don't know...

> Also I would like to know whether the following statements are correct:
> 
> The only way to add or edit media types is the list module.
> If you want to change the parent media type of a file type (e.g. move 
> .psd from Undefined to Image) you can do it there.

I don't think this can be modified at all...

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-project-dam mailing list