/ Published in: PHP

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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$item = menu_get_item(); $item['href'] = 'node/{insert id here}'; menu_set_item(NULL, $item);
Comments
