I'm using Drupal 7.14 and just enabled this module and was trying to create a new button field. As I get to my second screen of setting it up (where I input the label, help text, etc), I get the following error message
Notice: Undefined index: edit_hidden in button_field_field_widget_form() (line 295 of [my local path]\modules\contrib\button_field\button_field.module).
The button gets created, but does not recognize me changing the 'hidden' field setting (it's always checked), and the page where I have the field produces errors and is not displayed.
Anyone else running into this?
Comments
Comment #1
ditcheva commentedJust out of curiousity, I also just tested creating an Image button (the above was for an HTML button), and got both the error from above and an additional one for
Undefined index: image_path in _button_field_build_element() for line 412 of the module.
Obviously, I'm currently at the screen to set up the settings, but I get this warning along with the screen.
Anyway, they seem related, so I wanted to point this out too!!!
Comment #2
BassistJimmyJam commentedThis has been resolved in e881ea0 and cc05dff.
Comment #3
ditcheva commentedThank you!!!
Comment #4
firfin commentedMaybe time to roll a new (beta) version to incorporate these changes?
bit off-topic: What is holding up a non-beta release?
The (reported) VBO and multiple multi-valued buttons bugs?
Module is working fine for me btw. Thanks for your effort.