Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
rkerr CreditAttribution: rkerr commentedCan'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?
Comment #2
jluster CreditAttribution: jluster commentedI did a quick check, since a friend wanted to use it, and had the same issue. The culprit is
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.
Comment #3
buddaMollio 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.
Comment #4
rkerr CreditAttribution: rkerr commentedThis 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.