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

Jan Hancic typo3 at ks-con.si
Tue Aug 16 11:35:23 CEST 2005


Nevermind, I used the "old" way and it works.


lp

-----Original Message-----
From:	Jan Hancic
Sent:	Tue 16/08/2005 11:15
To:	TYPO3 English
Cc:	
Subject:	Re: [Typo3] $GLOBALS['TSFE']->tmpl->setup not working
Thanks for the effort but I still can't figure this out.
I just don't know what to put where...
I would like that this "options" or whatever typo3 calls them would be avalible with every install of the extension, so I wouldn't have to setup them by hand.


lp



-----Original Message-----
From:	Sacha Vorbeck [mailto:sachav at gmx.net]
Sent:	Tue 16/08/2005 10:49
To:	typo3-english at lists.netfielders.de
Cc:	
Subject:	Re: [Typo3] $GLOBALS['TSFE']->tmpl->setup not working
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
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english









More information about the TYPO3-english mailing list