[TYPO3-core] RFC #11651: Allow Extbase as framework for backend modules
Steffen Kamper
info at sk-typo3.de
Mon Aug 17 15:29:29 CEST 2009
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)
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11651_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090817/2364faf4/attachment.txt
More information about the TYPO3-team-core
mailing list