How can I get the parent items of a menu item for a view? I added a Global: null argument in the view and I need to get the parent items of this view. The view is set to belong to a menu in admin/build/menu-customize/primary-links.
I tried these in the argument to examine the parent items: $menuParent = menu_get_active_trail(); dsm($menuParent);
However, it's not resulting in the output I hoped. I tried to look for a right function in http://api.drupal.org/api/drupal/includes--menu.inc/group/menu/6 but I get confused with all these functions: menu_tree, menu_tree_data, menu_get_ancestors etc.
I am using Drupal 6.