![]() |
layouts Partial view and dynamic partial view problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: layouts Partial view and dynamic partial view problem (/showthread.php?tid=34898) |
layouts Partial view and dynamic partial view problem - El Forum - 10-13-2010 [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. layouts Partial view and dynamic partial view problem - El Forum - 10-13-2010 [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. |