Implementing a recursive menu system a'la Joomla in CodeIgniter

Posted by pettersolberg on Stack Overflow See other posts from Stack Overflow or by pettersolberg
Published on 2010-05-03T20:04:07Z Indexed on 2010/05/03 20:08 UTC
Read the original article Hit count: 217

Filed under:
|
|

Hi I have some sites powered by Joomla, but with my current assignment I wanted to try something new and created with CodeIgniter a really basic CMS (just to suit my client's needs). Everything works fine except menus - multilevel menus like in Joomla, Drupal etc. with items and subitems...

My question is: do you know of any tutorials or texts abut implementing such a structure. I've tried the recursion thinggy with while getting children's IDs move downwards from the parent while searching for the currently displayed item's ID. I've tried also the Drupalish way with having a path parameter enclosing ID's all the way from top to bottom '1/23/123/3'. But all in all it was just too chaotic - code something, try it out.

If you have some idea on this topic - thanks in advice.

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about menu