active trails working on node display, php snippet, custom function in template.php