layouts Partial view and dynamic partial view problem |
[eluser]nevercode[/eluser]
Hello to everyone. I am a newbie in CI , good at php and OOP. I am using layout library Code: <?php everything is so far good so good. in my layout I can browse every controller. but I have category model.I want to use it as a sidebar.all categories codes are ok. when I load as $data in my main controller I can see all controller but in layout_main.php I cannot pass variable and show categories. the thing I want is header,footer,content(both 3 work fine) but I cant get categories working sidebar.. any help? thank you.
[eluser]Shaun Andrews[/eluser]
I'm fairly new to CI, and have no experience with the Layout Library, but have used, and like, the Ocular Library (http://code.google.com/p/ocular/wiki/Introduction). It seems much more simple to use than what you have here. Give it a glance, and maybe you'll find it does what you need. Hope I've helped. |
Welcome Guest, Not a member yet? Register Sign In |