[TYPO3-mvc] multiple extensions working together

Henjo Hoeksma me at henjohoeksma.nl
Thu Aug 26 13:31:17 CEST 2010


On 2010-08-26 13:08:55 +0200, Dennis Ahrens said:

> Hi Henjo,
> 
> Henjo Hoeksma wrote:
>> Is it possible for extensions to complement oneanother? And be able to 
>> use objects defined in extension 1 be used in the view of extension 2 ?
> 
> 
> You can spread your models over several extensions - but there are some 
> restrictions:
> 
> Repositories and Model can easily be used above the extension border. 
> Just call the constructor and use them. Relations can be set in TCA - 
> this works fine for me.
> 
> If you want to use controllers from another extension you have the 
> problem, that you can't configure a "foreign" controller in your 
> module/plugin configuration (ext_tables.php/ext_localconf.php) - we 
> avoid this problem by providing a controller that extends the one from 
> the other extension without adding any functions.
> 
> Sharing Views/Partials/Layouts is also possible - you have set the 
> path's inside a controller that should use files located in another 
> extension.
> 
> regards
> Dennis

Hi Dennis,

sounds great. Would you happen to have an example on how you did this? 
I'm kinda new to MVC and ExtBase so that will be very helpfull for me 
and much appreciated.

Henjo



More information about the TYPO3-project-typo3v4mvc mailing list