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.
Comment | File | Size | Author |
---|---|---|---|
#1 | cck_views_fields-510396.patch | 1.87 KB | yched |
Comments
Comment #1
yched CreditAttribution: yched commentedCan you test the following patch ?
Comment #2
hefox CreditAttribution: hefox commentedWorks for me as far as content_handler_field goes, don't have any views which multi would effect so didn't test that.
Thanks =).
Comment #3
drupalok CreditAttribution: drupalok commentedsubscribing
Comment #4
markus_petrux CreditAttribution: markus_petrux commented@drupalok: if you can test the patch in #1, then please provide feedback. Thanks
Comment #5
archnode CreditAttribution: archnode commentedWorks for me with Views and multiple default images for the same imagefield. Thanks for the patch!
Comment #6
markus_petrux CreditAttribution: markus_petrux commentedThanks 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.