[TYPO3-mvc] BE module controller in separate directory

Kay Strobach typo3 at kay-strobach.de
Fri Nov 23 10:36:20 CET 2012


Hi,

should work, if you keep an eye on the naming convention:

Tx_extname_Controller_Be_Controller1Controller

Should be in extname/Classes/Controller/Be/Controller1Controller.php

regards
Kay

Am 23.11.2012 09:25, schrieb Stefano Cecere:
> hi
> i have an ext with dozens of FE controllers
> and now i'm developing the BE modules
> i can make them work nicely if i keep the in the Classes/Controller
> directory
> but could i move these other BE controlelrs in another dir?
> say Classes/Modules/ or Classes/Controller/Mod/ ?
> 
> it seems that if i register the module with
> Tx_Extbase_Utility_Extension::registerModule()
> 
> it always looks for the main controller in Classes/Controller/
> 
> i think i should dig  Tx_Extbase_Utility_Extension::registerModule()
> right?
> 
> did anyone deal with this?
> 
> regards!
> s
> 
> 
> 
> -- --- ----- -------
> 
> Stefano Cecere
> KRUR studio - http://krur.com


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-project-typo3v4mvc mailing list