Among the functions listed in the Drupal docs for Drupal 5.x (see http://api.drupal.org/api/group/menu/5 ) are
theme_menu_tree(pid) (where pid is the parent id)
theme_menu_item(), which would be used in the following manner (we don't call theming functions directly, but via the theme() function):
theme(menu_item, 80, FALSE)
where 80 is the mid (menu item id)
just as an example.
Victor Kane http://awebfactory.com.ar
On 9/12/07, danyv@focusweb.ca danyv@focusweb.ca wrote:
While using primary links with secondary links as sub-items, is there a function to print all the secondary links for a given non-active primary link?
For example:
-A |-1 |-2 -B |-3 |-4 -C |-5 |-6
Let us say I click on primary link A but I'd like to print somewhere on the page the secondary links under B (3 and 4). Is there a way to do it?
My PHP skills aren't that great and I've been reading a lot about Drupal but I can't seem to find the function I need to do that.
Thanks for any help.
Dany V.
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes