Dynamic menu help... - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Dynamic menu help... (/showthread.php?tid=51680) |
Dynamic menu help... - El Forum - 05-13-2012 [eluser]jay2003[/eluser] Hi, I have created a basic CMS which I am now adapting so instead of a 1 tier menu I want to include a drop down menu. I have created the backend so my 1st tier menu items are in tblmenu, and their sub items are in tblsubmenu, linked by the ID from tblmenu. I cant get my head around how I will now display the menu, a menu item is as follows, Code: <li><a href="#" class="drop">About us</a> How do I call the sub menu items (if they exist ... not all menus will have the drop down part). Thanks in advance. Jason Dynamic menu help... - El Forum - 05-13-2012 [eluser]jay2003[/eluser] Sorted this now thanks. Jason |