Closed enayet closed 10 years ago
What check list are you talking about and how are you going to use it?
Sorry, I should be more clear. I was meaning something like the attached.
Right now I am using sample field type (revealer) but with this type I am not able to show all the images, only the one is clicked/checked.
Thanks.
Interesting. That is something nice to have.
Are you interested in being able to write a custom field type by yourself?
I added this ability in the 3.2.1b branch. Ready to be tested. Download: 3.2.1b The example can be accessed via Dashboard
-> Admin Page Framework
-> Custom Field Types
-> Image Checkbox
.
I need to hear some opinions regarding the followings. Anybody please drop your opinions here.
image_checkbox
is okay or not. whether the arguments for the field definition are intuitive enough to set up.
array(
'field_id' => 'my_image_checkbox_field',
'type' => 'image_checkbox',
'title' => __( 'Image Checkbox', 'admin-page-framework-demo' ),
'width' => 96,
'height' => 64,
'label' => array(
'a' => 'path or url to the image',
'b' => 'path or url to the image',
'c' => 'path or url to the image',
),
),
Please test it on various browsers.
Great (Y) !
@enayet So do you have any opinion about the questions I raised above?
Fixed some issues with IE and Firefox and updated the 3.2.1b branch. Also added the new image_radio
field type.
Included in v3.2.1 as a custom field type.
Hi,
Again amazing framework specially the repeating ability!
Any easy way to create checklist with images?
Thanks.