[TYPO3-core] RFC: #9758: Write Configuration to extTables.php
Steffen Kamper
info at sk-typo3.de
Mon Nov 10 09:56:23 CET 2008
Hi Francois,
Francois Suter schrieb:
> Hi,
>
>> imho the extTables is the place where those settings go to?
>> There are some simular (commented) pre-settings in.
>
> Hmm, I thought so too.
>
> One thing however, which is definitely wrong with this patch is that the
> name "extTables.php" is *not* hard-coded. It is defined in
> localconf.php, with the following statement:
>
> $typo_db_extTableDef_script = 'extTables.php';
>
> This means that:
>
> 1) it may have another name, so you should use the above variable
>
> 2) this variable may actually be blank, so there's no extTables.php file
> at all.
>
> I am in case 2 in all of my sites. As Masi mentioned I put all my TCA
> modifications into an extension's ext_tables.php, so I could actually
> remove the typo3conf/extTables.php file (no need to carry around useless
> files).
>
good point! I never have seen a change here at all the sites i'm working
on, but as you wrote it's possible. I have no problem write that to
localconf.php, which leads to the question to the sense of extTables.php.
btw - i locally changed the value to $GLOBALS['varname'] for all, but i
wait for the result of discussion here.
vg Steffen
More information about the TYPO3-team-core
mailing list