menu_tree
Porting 5.x theme to 6.x
Submitted by DenRaf on Mon, 05/05/2008 - 14:47
When going to drupal 6 I needed also to upgrade our theme.
I had everything quiet fast, just the menu-tree was a big pain.
The code for the drupal 5 theme was:
print theme('menu_tree',variable_get('menu_primary_menu',0));
And now for drupal 6 it is:
print menu_tree($menu_name = 'primary-links');



Recent comments
50 weeks 6 hours ago
50 weeks 4 days ago
1 year 14 weeks ago
1 year 16 weeks ago
1 year 17 weeks ago
1 year 20 weeks ago
1 year 25 weeks ago
1 year 26 weeks ago
1 year 29 weeks ago
1 year 30 weeks ago