Best I can tell at least in one field handler the information passed to the theme function is the field information general, not the specific one for the content type.

For example imagefield using the per content type field information for choicing what default image to display, resulting in all to result in whatever the main field default image is instead of content type based.

Here's my comment in the issue in imagefield issue about it (later comment with exact file name of handler). http://drupal.org/node/460996#comment-1740776

(Sorry about post twice so closely together :/).

Using latest 2.x stable of cck.

CommentFileSizeAuthor
#1 cck_views_fields-510396.patch1.87 KByched
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Status: Active » Needs review
FileSize
1.87 KB

Can you test the following patch ?

hefox’s picture

Works for me as far as content_handler_field goes, don't have any views which multi would effect so didn't test that.

Thanks =).

drupalok’s picture

subscribing

markus_petrux’s picture

@drupalok: if you can test the patch in #1, then please provide feedback. Thanks

archnode’s picture

Works for me with Views and multiple default images for the same imagefield. Thanks for the patch!

markus_petrux’s picture

Status: Needs review » Fixed

Thanks for the feedback.

Committed a slight variation of the patch in #1 (it was doubling $options = $this->options; in field handler) to CCK2 and CCK3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.