in hook_field_settings, 'views data' op, reference is made to $field_cck['filter']['title']:

$field_cck['filter']['title'] .= ' '. $field_data['title'];

The filter information of a CCK field as returned by content_views_field_views_data() never contains 'title', so this code throws a warning.

I believe this line could simply be commented out, as CCK views filters take their titles from the field name they represent typically; but I'd want someone with a deeper knowledge of CCK/Views integration to comment.

Comments

AlexisWilke’s picture

I added an isset() check, but I need to get the CCK to work for me.

At this point I will leave this open.

According to Cody, there are loads of bugs in the Addresses modules... So it may take some time. 8-)

Thank you.
Alexis

timcosgrove’s picture

Cool. I'm not convinced it needs to be there at all but it could be handled like so:

$field_cck['filter']['title'] = $field_cck['filter']['title'] ? $field_cck['filter']['title'] .' '. $field_data['title'] : $field_data['title'];

which could hedge your bets.

For the moment we're commenting it out; it's generating a ton of warnings.

timcosgrove’s picture

Actually yeah would need to be an isset() to be clean, I think. You're right.

AlexisWilke’s picture

Just a note, I got CCK to work for me! Yeah!

So... I can actually test for real, which is good because there are several problems in CCK.

Thank you.
Alexis