Issue for coordinating efforts. Anyone started yet?

Comments

mattyoung’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Fixed

D7 dev is released

Status: Fixed » Closed (fixed)

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

mattyoung’s picture

Status: Closed (fixed) » Active

Oops, closed too soon. Need to resolve this to compete the port: #982764: Document how to upgrade CCK field modules that used hook_widget_settings_alter

dmadruga’s picture

I tried to use it for a checkboxes field in a Profile2 profile and it doesn't work. Does it already work on D7? Only for node or for any entity?

mattyoung’s picture

Only the form api part work for D7. This means in D7, you can program form checkboxes/radios to layout in multi-column. I haven't figure out how to port the CCK (field) part.

As to profile, this has never been made to work in profile. I am pretty sure you can use HOOK_form_alter() to make change to the profile form to get what you want together with this module.

dmadruga’s picture

Thanks for this reply. I'll try to use the form alter hook.

paulgemini’s picture

subscribing

joostvdl’s picture

subscribe

AtomicTangerine’s picture

Title: D7 port of Multi-column checkboxes radios » Drupal 7 port
Christopher Riley’s picture

Can we get a status update of this valuable module?

paulgemini’s picture

Title: Drupal 7 port » D7 port of Multi-column checkboxes radios
AtomicTangerine’s picture

sub... could it be done with css? I don't know css, and I've just started learning Drupal less than a month ago, so implementing this myself would just be a bad idea at this point.
How's it coming along? Also, any testing or anything, I could help, I really need this capability with my CCK content, with my over 30 boxes (healthcare-related forms). I just can't help too much with the coding part...

cees.vanegmond’s picture

Title: Drupal 7 port » D7 port of Multi-column checkboxes radios

Hi,

CSS seams to be possible according to http://pages.uoregon.edu/vid/2011/01/21/put-taxonomy-super-select-check-...
Only browser compatibility seems to be a issue for the :nth-of-type() css selector, see http://www.quirksmode.org/css/contents.html#t311

OR 100/num of cols for the width, 3 cols would be

li {
	width: 33%;
	float: left;
}
AtomicTangerine’s picture

Thanks! I'll look into all that, those links are much appreciated cees, that's pretty much what I was looking for :)

also, for all:
http://drupal.org/node/1148836#comment-4705302 from the duplicate thread (the only other 7.x issue for this project) code from a helper module

zoftdown’s picture

StatusFileSize
new63.18 KB

I use css with

#edit-field-classifieds-und .form-type-radio{
  width: 33%;
  float: left;  }

and use field group for optional

mattyoung’s picture

Status: Active » Closed (works as designed)
okeedoak’s picture

This css works:

.form-type-checkboxes .form-checkboxes {
  -moz-column-count: 4;
  -moz-column-gap: 10px;
  -webkit-column-count: 4;
  -webkit-column-gap: 10px;
  column-count: 4;
  column-gap: 10px;
}