Welcome Guest, Not a member yet? Register   Sign In
Get recursive menu from database
#11

[eluser]JoostV[/eluser]
I've seen a model called MPTtree discussed which I handels nested sets. Never looked into as of yet, alas.

http://ellislab.com/forums/viewthread/74114/
#12

[eluser]Unknown[/eluser]
Quote:Although the code below isn’t what you asked for, its some old code I had which done a nested drop down list of categories, so same concept.
Its essentially a recursive call starting with the top level categories, then searching for categories which have that as its parent etc

If you can’t make sense of it, I’ll adopt it to your situation in the morning, but I’m going bed now

Thanks Dam1an, Really was very useful.

~metoome




Theme © iAndrew 2016 - Forum software by © MyBB