[TYPO3-dev] config.removeDefaultJS = external

Steffen Kamper steffen at sk-typo3.de
Mon Nov 26 10:30:59 CET 2007


Hi,

"Christopher Torgalson" <bedlamhotel at gmail.com> schrieb im Newsbeitrag 
news:mailman.2249.1196069231.14020.typo3-dev at lists.netfielders.de...
> Hi,
>
> On Nov 26, 2007 10:15 AM, Steffen Kamper <steffen at sk-typo3.de> wrote:
>> Hi,
>>
>> what was the reason for switching this config from boolean to string
>> comparison?
>>
>> As i see no other possibilities than "external" i don't get the 
>> advantage.
>
>
> The TSref shows TWO possibilities:
>
> 1. remove the default js *altogether*
> 2. remove the default js to an external file
>
> I'm not completely sure about the utility of option (1), but it's
> available if you want it...
>
code does only a simple comparison:
elseif ($GLOBALS['TSFE']->config['config']['removeDefaultJS']==='external') 
{
   $_scriptCode = TSpagegen::inline2TempFile($_scriptCode, 'js');

vg  Steffen







More information about the TYPO3-dev mailing list