Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Tree Multi-level Menu (quick hack)
#5
I found a bug in the function, it didn't close the lists properly if last line is not a first level page.

Replaced:
Code:
echo '</li></ul>';
with:
Code:
for( $i=0; $i <= $thislevel; $i++) echo '</li></ul>';

I have just edited the function (now v1.1). Sorry.
Reply


Messages In This Thread
Simple Tree Multi-level Menu (quick hack) - by Carlos - 2010-03-22, 06:35:38



Users browsing this thread: 2 Guest(s)