Is it possible for this to work with CCK and the select_or_other module?

Based on the README, it sounds like I should add:
$conf['multicolumncheckboxesradios_extra_widget_types'] = array('select_or_other');
to the site's settings.php.
This does not seem to have done anything. Is there something else I need to do? Or does it simply not work with this type of CCK field?

Thanks!

Comments

mattyoung’s picture

>This does not seem to have done anything

That should have at least given you a CCK config form to specify how many column to display. Do you not see the multicolumn setting form when you configure the CCK field?

But I don't know if my module will actually format the checkboxes or radios in column. If in the end is form element ends up like a radios or checkboxes and a text field, it should work.

mhm’s picture

Nope, it doesn't give the CCK config form. (Unless I am looking in the wrong place. That should appear on the "manage fields" page for the content type, no?)

mattyoung’s picture

Yes, in the manage fields page, there is a "Configure" link. That should lead you to the config page of the field and you should see the multicolumn setting there.

mattyoung’s picture

Status: Active » Needs review

The correct id is 'select_or_other_buttons':

$conf['multicolumncheckboxesradios_extra_widget_types'] = array('select_or_other_buttons');

will make the multicolumn setting show up in the CCK setting page. However, I had to make some change to make select_or_other actually work.

Try the 'dev' version see if it works for you. It has built-in support for select_or_other.

mattyoung’s picture

Version: 6.x-1.4 » 6.x-1.5
Status: Needs review » Fixed

~

Status: Fixed » Closed (fixed)

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