[Typo3] $GLOBALS['TSFE']->tmpl->setup not working

Sacha Vorbeck sachav at gmx.net
Tue Aug 16 10:49:08 CEST 2005


Hi,

> I was trying to add TSconfig to my extension so that it would showup in the Constant Editor, but without any luck and I don't find any information on how to do it right.

the old way was to add a file named ext_typoscript_constants.txt to your
extension folder:
http://typo3.org/documentation/document-library/doc_core_api/Files_and_locations-1/

New way is to work with static templates like here:
http://typo3.org/extensions/repository/search/tt_news/details/

The contents of the TS constant file are explained here:
http://typo3.org/documentation/document-library/doc_core_tstemplates/TSConstantEditor_ca/
http://typo3.org/documentation/document-library/doc_core_tstemplates/Comments_in_TypoScri/

The comments will make the values editable in the constants editor.

TSconfig is something different!

-- 
hth,
Sacha



More information about the TYPO3-english mailing list