[TYPO3] What is the right way to increase the max_size of the media that can be attached to page content?

Justin Patrin papercrane at gmail.com
Wed Oct 18 16:46:58 CEST 2006


While trying to attach a file to a filelinks content block I ran into
an error which said that it was over the maximum size allowed for
tt_content media. I googled quite a bit but the only solution I could
find was to install 1 of 2 "extensions" (I chose asfk_uploadsize) and
then alter its ext_tables.php with the size I wanted.

$TCA['tt_content']['columns']['media']['config']['max_size'] = '51200';

This seems like a hack to me. I have to install an extension which
just sets some of these values (and then have to alter it, which is
not generally what should be done). What is the right way to set
values such as this? Is there a general config file where I can alter
$TCA? Can it be done in TYPOScript in a template or page somewhere?

-- 
Justin Patrin



More information about the TYPO3-english mailing list