Codeigniter Template Library (phillsturgeon) and Modular Separation HMVC |
[eluser]Unknown[/eluser]
System Codeigniter v2.1.0 Modular Extensions - HMVC version 5.2 Template Library --- Modules: welcome Quote: controllershome Quote: controllers Welcome Controller: Code: <?php welcome_message.php: Code: <?php echo modules::run('home');?> if use $this->template->build() and not use modules::run() then not problem but view file in use modules::run('home') error message: Code: Unable to load the requested file: home_message.php sorry my bad english please help me! thank you.
[eluser]Zaher Ghaibeh[/eluser]
you have to change your home controller you must set the build to home/home_message.php since it will look for the home_message.php in your welcome module not the home one .. but your problem will be is that the moudles::run() will echo nothing at all .. i have the same problem http://s.zah.me/L6vU8e |
Welcome Guest, Not a member yet? Register Sign In |