[TYPO3-core] RFC #11651: Allow Extbase as framework for backend modules

Jochen Rau jochen.rau at typoplanet.de
Wed Aug 26 13:04:28 CEST 2009


Hi Steffen.

Thanks for the great work.

Steffen Kamper wrote:
> Hi,
>
> as some are not lucky about dependency of an extension in core (i agree
> with that) i found another solution for this.
>
> Using a var in ext_tables, extbase can use own mod.php. It looks like
> this in extbase:
> $TBE_MODULES['_dispatch'] = t3lib_extMgm::extPath('extbase') . 'mod.php';
>
> and core mod.php simple checks this configuration:
>
> if ($TBE_MODULES['_dispatch'] && is_file($TBE_MODULES['_dispatch'])) {
> require($TBE_MODULES['_dispatch']);
> } else {
> (proceed normal way)
> }
>
> This only allow one override, but i think there is no need for
> additional mudule dispatcher. I tested it and it works, so please
> comment (i attached the core patch for mod.php)

I have changed the order of dispatching a module. In addition the 
dispatcher is now an object. And you can have several dispatchers now.

The patch works with the latest revision of Extbase.

Regards
Jochen

-- 
Every nit picked is a bug fixed

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11651_v3.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090826/b27fb4d3/attachment.txt 


More information about the TYPO3-team-core mailing list