[TYPO3-dev] add TSCofnig from file

Kay Strobach typo3 at kay-strobach.de
Tue Feb 26 17:04:24 CET 2013


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