[TYPO3-dev] Does anyone know of a up-to-date description of ext_emconf.php?
Jigal van Hemert
jigal at xs4all.nl
Mon Oct 19 14:04:17 CEST 2009
Peter Klein wrote:
> Does anyone know of a up-to-date description of ext_emconf.php?
>
> There's one in the API doc, but that haven't been updated for ages, so
> it doesn't reflect the cxurrent setup of the file.
In Dmitry's book [1] is a pretty good description of what should be set
in ext_emconf.php.
> In some of my ext_emconf.php files I have 2 "suggest" parts, but I
> don't know what the use is for the 2nd one.
The second one is the "modern" version. The single depends, conflicts,
suggests are obsolete.
The constraints section allows you to set a lower and/or upper limit to
the version (both optional). E.g.
'constraints' => array(
'depends' => array (
'ext_key' => '2.3.1-', //version >= 2.3.1
'ext_key4' => '-1.0.2', //version < 1.0.2
),
'conflicts' => array(
'ext_key2' => '', //any version
),
'suggests' => array(
'ext_key3' => '1.0.0-1.0.999', //1.0.0 <= version <= 1.0.999
),
),
[1] http://www.packtpub.com/typo3-extension-development/book
Regards, Jigal.
More information about the TYPO3-dev
mailing list