![]() |
Modular Extensions - (HMVC) - Version 3.1.9 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Modular Extensions - (HMVC) - Version 3.1.9 (/showthread.php?tid=6385) |
Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]xwero[/eluser] [quote author="Le Bang" date="1204814663"]$this->load->view('home/abc_view',$data,true) not should. it Not convenien. why not Equal.[/quote] The load view method is equal with the CI load view method. It's not a different method. Maybe you should add a suggestion in the 4.x thread to make TRUE the default setting instead of the FALSE setting that is default in CI. Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]wiredesignz[/eluser] TRUE is the default for module views ![]() Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]xwero[/eluser] There you go, people should stop making silly remarks and just use it ![]() Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]Le Bang[/eluser] [quote author="yingyes" date="1204813862"]yes, I can confirm that you can load a module from a module directory with not the same directory name like so: module_dir/module_name Code: modules::run('home/abc',$data) and subsequently in order for you to load a view from the same module directory views directory you have to load it like so: module_dir/module_view Code: $this->load->view('home/abc_view',$data,true) Arrange in order to who isn't needed. $this->load->view('home/abc_view',$data,true); That point need. $this->load->view('abc_view',$data,true); Functional Addition module load module All right another Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]Le Bang[/eluser] load module i see like OK. But load language still haven't been acquired Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-06-2008 [eluser]Avatar[/eluser] what version are you using 3 something? or 4 something? Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-07-2008 [eluser]Le Bang[/eluser] why i not use. please help me. Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-07-2008 [eluser]wiredesignz[/eluser] Version 3 is now obsolete, please download Version 4 from the wiki http://codeigniter.com/wiki/Modular_Extensions_-_HMVC/ Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-07-2008 [eluser]Le Bang[/eluser] i was downloaded today. v.4.0.1.1. call $this->load->lang('news', 'english'); not do. with direcory language: module_folder/language/english/ module_folder/language/vietnamese/ please demo. Modular Extensions - (HMVC) - Version 3.1.9 - El Forum - 03-07-2008 [eluser]wiredesignz[/eluser] Version is now 4.0.12 please check for updates every day. Have you created your Vietnamese language translations and put the file into the application/language/vietnamese directory? |