Hello,
First I'm sorry to put my bug report in "Miscellaneous", but I really don't know if my pb is a bug or if I don't understand how to make the "popup descriptions" work... or if the modules can't work together.
My config
My Drupal: 7.0
Popup: 7.X-1.0
Webform: 7.x-3.18
... and lots others modules...
but: admin/config/user-interface/popup/descriptions >> form field descriptions > Selection Popup the descriptions of: All fields
And I have no pb in the backoffice: all the descriptions are visibles via popup.
Idem, I have no pb with the login page .../user.
It doesn't work only on fields created with Webform module: nothing happens, the description text is still a descriptrion text.
It makes me crazy...
I tried to trace the code but I was lost really fast.
I've done a: var_dump ($position); in popup_descriptions.util.inc on
function _popup_descriptions_apply_popup_description(&$element){ if (_popup_descriptions_enabled($element)){...
And it returns: string(1) "0" (x number of description fields) when it works.
And really nothing when it does not.
Can someone help me on this, I just don't know what and where I am suppose to search?
Thanks
Ccile
Comments
Comment #1
Roensby commentedThis mostly works if you include a a theming preprocess function specifically for webforms
In popup_descriptions.module, copy the last function popup_descriptions_preprocess_form_element, insert it below and change _form_ to _webform_ in the function name, like so:
It works with label and description positioning but weirdly doesn't work when the prefix or suffix option is selected