Revision: 18403
Updated Code
at September 29, 2009 14:47 by ccalnan
Updated Code
$item = menu_get_item(); $item['href'] = 'node/{insert id here}'; menu_set_item(NULL, $item);
Revision: 18402
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 29, 2009 14:46 by ccalnan
Initial Code
$item = menu_get_item(); $item['href'] = 'node/37'; // '/publications'... menu_set_item(NULL, $item);
Initial URL
Initial Description
If you want to set the active menu trail in a node, simply add this to your template.php in the 'template preprocess node' function.
Initial Title
Set the active menu item
Initial Tags
drupal
Initial Language
PHP