[TYPO3-dev] Does anyone know of a up-to-date description of ext_emconf.php?

Peter Klein pmk at io.dk
Tue Oct 20 15:14:27 CEST 2009


Hi Jigal.

Thanks for the info.

I read on bugs.typo3.org that the API Doc for 4.3 have been updated
with the new info.
http://bugs.typo3.org/view.php?id=9353

--
Peter Klein


On Mon, 19 Oct 2009 14:04:17 +0200, Jigal van Hemert <jigal at xs4all.nl>
wrote:

>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