Posted by hefox on July 4, 2009 at 11:07pm
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.x-dev |
| Component: | Views Integration |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
Can you test the following patch ?
#2
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 =).
#3
subscribing
#4
@drupalok: if you can test the patch in #1, then please provide feedback. Thanks
#5
Works for me with Views and multiple default images for the same imagefield. Thanks for the patch!
#6
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.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.