[Typo3] pro and con of increasing max_size for filelinks
ericb at piap.com
Sun Jun 12 00:24:17 CEST 2005
What are the pros and cons of increasing the max file size for
filelinks. Or in general modifying any value in TCA?
Some times there are many ways to accomplish something and I want to
build good habits with Typo3. I don't know if modifying TCA is a bad
habit to get in to.
Today I ran into the problem where tt_content gives an error due to a
file of larger than 9.8 MB being attached to the filelinks content
element. I searched the email list archives and found some discussion
of this. However, while it is clear that increasing the value will
solve my problem I'm not sure if it is a good idea. Can someone give a
brief overview of when changing values in the TCA is a good idea. I
have this nagging feeling that if something is not really easy to
change, I.E it is in the install options, there might be a good reason
not to change it.
I'm also curious why files are copied by Typo3 from fileadmin/... to
uploads/media/... I have some 60+ MB files that I have in fileadmin
that are getting copied into uploads/media now. Am I doing something
wrong? It seems like a waste of disk space.
PS -- For those of you that are wondering what the solution is to the
file size problem in filelinks here is what I did.
in typo3conf/localconf.php add
$typo_db_extTableDef_script = 'extTables.php';
in typo3conf/extTables.php add
// Raise file size of filelinks content module to 100 MB
At the top of extTables.php you will see some comments on modifying TCA
using this method.
Here are some relevant messages from the english list archive.
How do I enable subtitle on shortcut pages
Changing values in $TCA
More information about the TYPO3-english