[TYPO3] way to create default setup for extension

Tapio Markula tapio.markula at atwebteam.com
Wed Dec 27 17:27:30 CET 2006


Stano Paška kirjoitti:
> Hi.
> 
> Which is the recommended way to create default constants and setup for
> extension?
> 
> 1. in ext_typoscript_setup.txt
> 2. in static template pi1/static/setup.txt
> 3. in ext_localconf.php t3lib_extMgm::addTypoScript($_EXTKEY,'setup','...
> 
> Thanks.
> 
> Stano Paška.
basically 2) but that is not so simple
IMO best to use switch with ext_conf_template.php
into ext_tables conditional
template pi1/static/setup.txt
and into ext_localconf.php
conditional
t3lib_extMgm::addTypoScript($_EXTKEY,'setup','...


More information about the TYPO3-english mailing list