Drupal Association members fund grants that make connections all over the world.
Is there anyway I can customize the paths to a node's tabs?
When using either pathauto or hook_menu_alter, I can change the path to the node view to from node/node_id to, well pretty much anything, but let's say xyz/node_title.
The node tabs, however, still stay with the path /node/node_id/tab_name
I'm trying to add a custom tab to the node, and keep the custom path as well (e.g.: xyz/node_title/tab_name instead of node/node_id/tab_name)
I manage to add the custom tab via hook_menu:
<?php $items['node/%node/members'] = array( 'title' => 'Manage Membership', 'page callback' => 'mymodule_members', 'page arguments' => array(1), 'access callback' => 'mymembers_members_access', 'access arguments' => array(1), 'type' => MENU_LOCAL_TASK ); ?>
but if I try to customize the path, either at hook_menu or at hook_menu_alter, the tab just disappears.