[TYPO3-dev] TYPO3 BE extensions: sub and main modules and registerModule()

Xavier Perseguers xavier at typo3.org
Tue Jul 22 10:34:21 CEST 2014


Hi,

> The point is, that both extensions ("My Extension One" and "My Extension
> Two") are independent from each other. You can install either one of
> them or both - and they should both appear under "MY MAIN MODULE".
> 
> How should the method registerModule() in ext_tables.php look like?
> According to the API [1] documentation:

(did not test) most probably you could check if the main module is
already globally defined ($GLOBALS['...) and thus detect if the main
module should be created or could be reused as this.

HTH

-- 
Xavier Perseguers
TYPO3 CMS Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org




More information about the TYPO3-dev mailing list