Closed (fixed)
Project:
Conditional Fields
Version:
6.x-2.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2011 at 15:34 UTC
Updated:
5 Oct 2011 at 16:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
roball commentedThere is no problem with CCK 2.9, thus this issue is not a bug report.
Comment #2
trailrunner commentedInteresting. My install shows no way to set a conditional field. Am I missing something here?
Comment #3
xarbot commentedSubscribing. I have the same problem
Xarbot
Comment #4
newtoid+1
Comment #5
sahuni commentedNo section for conditional fields with cck 2.9 and drupal 6.22, when managing a field in /admin/content/node-type/mycontenttype/fields/field_myfield
(But it's OK with cck 2.8).
I know you said it's not a bug, but I'm not sure you are right.
I tried a fresh install drupal 6.22 with just cck 2.9 and conditional fields. Look at attached file
Comment #6
roball commentedYour screenshot gives the error that you need to specify allowed values.
Comment #7
sahuni commentedSorry, my example was not perfect. It's because I tried it with severall fields, and I don't finish the setting for the select list.
What I wanted to show is not that error message : it's that there is no fieldset for Conditional fields settings
Comment #8
sahuni commentedThen, here is another example with a basic textfield. Where to click to adjust the conditional field for my field ddd?
Comment #9
sahuni commentedI'd like to know if problem is just mine or if it's a well known problem.
I can't upgrade cck from 2.8 to 2.9 because of that problem.
Comment #10
sahuni commentedI did some debugging in conditional_fields.module.
IN function conditional_fields_content_admin_field(&$form), following test does not let it continue (line 368) :
conditional_fields_allowed_values($field) is an empty array
!$allowed_values[$field['field_name']] = 1 (I must say I don't undestand the ! before the field)
So we cannot work with conditional fieldset.
Comment #11
peterpoe commentedOnly fields with allowed values can be controlling fields in cf 6.x. If your content type has no field with allowed values, the "Conditional fields settings" fieldset will not appear (it's located just under the "Default value" fieldset).
If you have fields with allowed values and these are not showing up, then this is actually a bug. Please provide more details if this is the case, otherwise, I'll mark this "works as designed".
Comment #12
sahuni commentedThank your for your explicite reply.
I never realised that we needed at least 1 field with allowed value for "Conditional fields settings" fieldset to appear.
And it's logical, shame of me!
We need fields with widget list, radio button or just text field with some allowed values.
My test in fresh db with cck 2.9 was done with not enough fields (my purpose was to test fieldsets with conditional fields), and I confess there was no fields with allowed values. And as it was working on server with cck 2.8, I jump to conclusion that it was cck 2.9 the problem. But in fact, on server I have more fields, and amongs them fields with allowed values.
Well, I remove my bug report.
Only thing I can report is a big thanks for excellent module.
Comment #13
roball commentedSo you finally agree that there is really no problem with CCK 2.9, as mentioned in first reply above.
Comment #14
roball commented