Hi and thanks for this great module. I have edited your code and changed the type=> select to radios.
This enables me to select a contect in the node form via a radio button. The reason why I have done this is to make a themable selection of the node context layout (Same way panels presents an layout selection via radios and image thumbnails) Not every one would want to go through the design of layout thumbnails and would prefer a normal dropdown select list.

This is not such an important feature request but I just want to mention that this nice themeing can be achieved by simply changing the following code:

Line 70:         '#type' => 'select',
to:                '#type' => 'radios',

Comments

lelizondo’s picture

Version: 6.x-1.1 » 7.x-1.x-dev

If I add the possibility to select between having a select or radios I think it would add some unnecessary complexity to the module. I'll just make all selects radios instead.

I actually was thinking about the possibility to somehow match an image to a context. I still have no idea on how to do this. I might have to create another module for that, maybe, I don't know submit a patch to context.module. I really have no idea, if you would like to help with ideas, those are more than welcome.

I'll move this to 7.x-1.x-dev and then backport it.

lelizondo’s picture

Status: Active » Fixed

Both have been committed and pushed. 6.x-1.x and 7.x-1.x

Use and test the -dev version please. Thanks.

Status: Fixed » Closed (fixed)

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