Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The documentation page for creating a user-built menu refers only to Drupal 6 usage. The theme function name changed and this should be documented somewhere.
Specifically,
theme('menu_creation_by_array', $menutree, $trail);
is the Drupal 6 method for creating a user-built jquery menu.
In Drupal 7 this becomes:
theme('jquerymenu_menu', array('tree' => $menutree, 'trail' => $trail));
where $menutree and $trail are the same as in the Drupal 6 version.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThank you. This saved me a lot of time...