[TYPO3-mvc] BE module controller in separate directory

Claus Due claus at wildside.dk
Mon Nov 26 14:29:04 CET 2012


Hi Stefano and all,

> i think we can't do much with this feature.. it sounds too much integrated into Extbase

Here is a possible solution - totally untested - PHP 5.3 and above required:

File EXT:myext/Classes/Controller/Backend/MyController.php is the real file
File EXT:myext/Classes/Controller/MyController.php is a PHP file with one line only:

<?php
class_alias('Tx_Myext_Controller_MyController', 'Tx_Myext_Controller_Backend_MyController');
?>

Hack FTW!

Cheers,
Claus


More information about the TYPO3-project-typo3v4mvc mailing list