Hi, :)
My goal is to hide breadcrumb on specific nodes by node titles or by NID ;
I have found a solution here, by adding some code in page.tpl.php and it works great :
<?php if ($breadcrumb && $node->nid != 18 and $node->nid != 17 and $node->nid != 16 and $node->nid != 15): print $breadcrumb ?>
<?php endif; ?>by this code I remove the breadcrumb on node/18, node/17, node/16, and node/15.
But I have read somewhere here (under best practice title) that page.tpl.php is not the right place for logical ; so template.php seems to be the right place for logical...
I'm a php newbie, so I haven't found a solution for overriding function phptemplate_breadcrumb($breadcrumb) in order to hide breadcrumb on specific nodes...
Somebody has an idea for overriding this function correctly ?
Thank you for your attention
and sorry for my poor english...
Comments
Somebody has an idea on how
Somebody has an idea on how to proceed with function phptemplate_breadcrumb($breadcrumb) in order to hide breadcrumb on specific nodes ?