The titles for fields are coming up as 'Array', using 4.7 with the 17/05 version mollio. e.g. go to admin->settings->menu and instead of primary and secondary links text above the selection box, 'Array' is displayed. This is especially visible for any user forms.

Comments

rkerr’s picture

Can't duplicate this at the moment (with latest checkout of the 4.7 version from CVS)..

What's the structure of your primary links menu?

jluster’s picture

I did a quick check, since a friend wanted to use it, and had the same issue. The culprit is

   mollio_form_element($title, $value, $description = NULL, $id = NULL, $required = FALSE, $error = FALSE)

in which the new formsAPI hands $title an array of data. Your $title inside the function is actually $title["#title"] and so on. This can be fixed rather quickly, if you're up to it.

budda’s picture

Mollio CVS and Drupal 4.7.2 release works fine for me, with no hacking or patching. Does that means this issue is fixed?

I tested by editing a node with full node rights, so i could see the field sets for comments, node options, authoring etc.

rkerr’s picture

This should be fine in 4.7 as $title is still a string.
http://api.drupal.org/api/4.7/function/theme_form_element

On the other hand, this should be updated for HEAD (5.0)
http://api.drupal.org/api/HEAD/function/theme_form_element

Although there are probably a lot of other theme functions that need updating as well.