![]() |
Menu Library 1.3 [05 Gen 09] - 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: Menu Library 1.3 [05 Gen 09] (/showthread.php?tid=12294) |
Menu Library 1.3 [05 Gen 09] - El Forum - 05-16-2011 [eluser]renathy[/eluser] I need to save navigation in db (for cms). I wonder what method would be usefull for this purpose: after editing navigation in cms update menu config file and use menu library v.3 or create db support in menu library v.3 (if this - describe, please, some hints how to integrate this in existing libray)? Menu Library 1.3 [05 Gen 09] - El Forum - 07-09-2011 [eluser]Unknown[/eluser] First off, let me just say that I admire the simplicity of your menu library. I noticed that the current active menu item is derived from the current controller, which only worked for me after removing an extra slash from the strripos() function inside your _check_current() method. As an aside, it would be nice to include code to determine if the active menu item is a method of the current controller. As it is, your menu library would wrap its current_tag around all menu entries which are methods of the active controller. |