Active
Project:
Mollio
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2006 at 11:10 UTC
Updated:
13 Sep 2006 at 14:15 UTC
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 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 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 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.