Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions - (HMVC) - Version 3.1.9

[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.

[eluser]wiredesignz[/eluser]
TRUE is the default for module views Wink

[eluser]xwero[/eluser]
There you go, people should stop making silly remarks and just use it Smile

[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)
in this case home is referring to the module directory[/quote]

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

[eluser]Le Bang[/eluser]
load module i see like OK. But load language still haven't been acquired

[eluser]Avatar[/eluser]
what version are you using 3 something? or 4 something?

[eluser]Le Bang[/eluser]
why i not use. please help me.

[eluser]wiredesignz[/eluser]
Version 3 is now obsolete, please download Version 4 from the wiki

http://codeigniter.com/wiki/Modular_Extensions_-_HMVC/

[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.

[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?




Theme © iAndrew 2016 - Forum software by © MyBB