Unable to implement HMVC? |
[eluser]XMadMax[/eluser]
Hey gRoberts, I dont't see the main problem, but.... You must to rename MY_loader.php to MY_Loader.php, and MY_router.php to MY_Router.php Any Modules directories must to be created lowercase (modules/front/front.php) Clases must to be declared capitalized: Code: class Front extends ..... I also recommend to create MY_Controller: Code: <?php (defined('BASEPATH')) OR exit('No direct script access allowed'); And any controller extending from MY_Controller Code: class Front extends MY_Controller I hope this can help. Also, you can try XHMVC: https://bitbucket.org/xperez/codeigniter...ions-xhmvc , a ready-to-go HMVC with common folders to share yuor development bertweem multiple apps. |
Messages In This Thread |
Unable to implement HMVC? - by El Forum - 05-25-2013, 11:49 AM
Unable to implement HMVC? - by El Forum - 06-07-2013, 02:22 PM
Unable to implement HMVC? - by El Forum - 06-12-2013, 12:44 AM
|