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

Anonymous’s picture

Status: Active » Reviewed & tested by the community

Thank you. This saved me a lot of time...