[eluser]edwin87[/eluser]
Hello CI!
I finally got HMVC working. I like the data structure now. But i have some problems creating a menu.
I have a database table named modules. In this table every module is saved.
There's also a active option. So i can disable or enable a module.
I can show this now in my menu which modules ara active. Then i am trying to make a link. So for example :
Code:
<?php anchor('news', 'News module'); ?>
Now i click on the link and the module opens his page. That's good.
But i want 2 options now...
When i want to open a function in that controller i normally did this:
Code:
<?php anchor(news/whatever,'whatever'); ?>
what worked. But now he can't find the funtion?
How can i do that?
And i have another problem.
Every time i open that module, i still have to load a header and footer page like
Code:
<?php $this->load->view('header');?>
Is it possible that i don't have to do this every time?
Many thanks