Project:Custom breadcrumbs
Version:5.x-1.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello,

I have set up a working Custom Breadcrumb, and want to stop it from displaying on the homepage. I found a post here that seems like it would work, but when I add the code I get an error message:

Fatal error: Cannot redeclare phptemplate_breadcrumb() (previously declared in /home/braintru/public_html/sites/all/themes/zen/template.php:92) in /home/braintru/public_html/sites/all/themes/zen/braintrust/template.php on line 333

I'm not a coder, so I really appreciate any help you can offer!

Jim

Comments

#1

Status:active» closed (fixed)

This is possible in custom_breadcrumbs 6.x-2.x-dev, and if there is interest it could be ported to 5.x.

But since this issue is nearly a year old, I suspect its not relevant anymore so I am closing it. Please reopen if I am mistaken, and this is still of interest.

#2

I've never used Drupal 5 so I'm not sure how the sub-theme setup works but the error message you are getting is saying the function is declared in 2 places once in the base zen theme and once in your sub theme. A quick fix is to just edit the base zen theme template.php file instead of adding the function to your sub theme template.php.

Otherwise I think you can rename the one in your sub theme file:

braintrust_breadcrumb()

nobody click here