Hi,

I have found a strange issue with custom breadcrumb, it trigger themed CCK field 2 times.

How to reproduce ?

Enable CCK, define a text custom field, and declare a template file to theme it by copying a content-field.tpl.php and content-field-my_field.tpl.php file.

In content-field-my_field.tpl.php file, put a drupal_set_message('test');

Now go to your content that have the CCK field, test is printed only one time.

Now, install custom breadcrumb, then go to your content : test is printed only one time.

Now create a custom breadcrumb for this content type and go to your content : test is printed 2 times (that is the problem).

Remove the custom breadcrumb for this content type and return to your content : test is printed one time.

So the problem appear when you defined a custom breadcrumb for a content type that have some CCK fields. they are loaded 2 times, but, strangely, displayed only one time, you can see the problem only if you make a drupal_set_message().

Comments

MGN’s picture

Status: Active » Closed (fixed)

Closing this issue because its gone a year without any followup. If anyone has a suggestion for what to do about this please reopen and let me know.