Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! (/showthread.php?tid=52232) |
Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! - El Forum - 06-02-2012 [eluser]boltsabre[/eluser] Hi guys, Been trying for hours to be able to use sub directories in my controllers, found lots of information, but couldn't get it to work. (example solution: http://ellislab.com/forums/viewthread/202176/) I realised that it's because I'm using the a3m marshmallow module, which is already extending the CI_Router class. Does anyone know how I can use controller sub-dir's AND a3m marshallow? Sorry if it's a stupid question, I've been up all night working to a deadline I'm having a brain fade (my OOP isn't great) :-( a3m already has extended the core Router class as such: Code: <?php (defined('BASEPATH')) OR exit('No direct script access allowed'); Which is extending upon: Code: <?php (defined('BASEPATH')) OR exit('No direct script access allowed'); If anyone has a fix for this I'd be extremely greatful!!! Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! - El Forum - 06-02-2012 [eluser]boltsabre[/eluser] No one...??? I'm pretty sure the problem is with this piece of code: Code: /* application sub-directory controller exists? */ Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! - El Forum - 06-11-2012 [eluser]EC[/eluser] If you add Modular Extensions to allow HMVC, A3M will drop right in as a module, and you can then use separate MVC modules. It's very easy to do. Then each controller or module has it's own directories. Don't know if you are interested in using Modular Extensions, but it does add very nice features. Hope that helps. Edmund Nested sub-controller folder/directory AND using a3m marshmallow module PLEASE, NEED HELP!!! - El Forum - 07-24-2012 [eluser]jakub[/eluser] Not sure if it helps with your issue, but just an FYI, I've updated the A3M code, latest release (with new fixes + CI update) is called A3M - PB&J (running on CI2.1.2) https://github.com/pengkong/A3M-for-CodeIgniter-2.0 |