[TYPO3-dev] addModule/registerModule does not work

Michael Schams typo3.lists at 2014.trash.schams.net
Tue Aug 5 15:12:47 CEST 2014


On 05/08/14 22:55, Bernhard Kraft wrote:

>> If I install both, EXT:addmodule and EXT:addsubmodule, only the module
>> name of the sub module is shown, not the "parent" (EXT:addmodule).
>
> EXT:addsubmodule should have EXT:addmodule as dependency. This will
> ensure EXT:addmodule gets loaded before.

Hi Bernhard,

EXT:addsubmodule *has* a dependency set in ext_emconf.php:

...
'constraints' => array(
   'depends' => array(
     'typo3' => '6.2.0-6.2.999',
     'addmodule' => '1.0.0-1.999.999'
   ),
   'conflicts' => array(),
   'suggests' => array()
),
...

> I use the following code to create a submodule for extbase (directly
> specifying possible controller/action combinations.
>
> https://gist.github.com/kraftb/8d80726d124591572a37

I don't see a difference between my registerModule() and your 
gistfile1.txt to be honest... except the names of the modules/submodules :-)

Ok - my test extension does not have a controller, so the array() is 
empty, but this should not matter, if I just want to *list* the 
module/submodule in the BE (I also tested it with a controller - same 
behaviour).

What am I missing?


Cheers
Michael



More information about the TYPO3-dev mailing list