[TYPO3-dev] add TSCofnig from file
Kay Strobach
typo3 at kay-strobach.de
Wed Feb 27 07:12:26 CET 2013
Mhmm, i always use:
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT:
source="FILE:EXT:basictemplate/Configuration/Skin/tsconfig.ts">');
So it should be basically the same.
Have you switched from a caseIgnorand OS (e.g. Windows) to a
case-sensitive one (e.g. Linux)?
Does the file exist?
Is the extension loaded?
Are the cache directories writeable?
Any warnings in DB compare?
Any warnings in Installtool?
Regards
Kay
Am 26.02.13 18:47, schrieb Ivano Luberti:
> :-)
>
> Yes.
> Using the clear all caches command in the backend.
>
>
> Il 26/02/2013 17:04, Kay Strobach ha scritto:
>> Have you cleared the cache?
>>
>> Am 26.02.13 14:56, schrieb Ivano Luberti:
>>> Hello, I'm developing an extension on a TYPO3 4.6.16 instance.
>>> In my extension ext_tables.php I have:
>>>
>>> t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT:
>>> source="FILE:EXT:my_ext/static/pageTSconfig.txt">');
>>>
>>> in my dev environemt works correclty, but when I deploy on the
>>> production server the TSConfig is not loaded.
>>>
>>> I checked using the configuration module and the file is loaded in the
>>> TYPO3_CONF_VARS['BE']['defaultPageTSConfig']
>>>
>>> There are other extensions on the same server that use the same way to
>>> add TSConfig and they seem to work correctly.
>>>
>>> Any ideas?
>>>
>>>
>>>
>>
>
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answer was useful - feel free to donate:
-
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
- https://flattr.com/profile/kaystrobach
More information about the TYPO3-dev
mailing list