Posted by dragonwize on September 25, 2008 at 4:15pm
Jump to:
| Project: | CiviCRM Theme |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Normally I post a patch but I do not have a lot of time right now and this change is simple.
To get the 6.x-dev version working change $form['form_id'] on line 17 of civicrm_theme.module to $form['form_id']['#value']
With that change, everything seems to be working fine for me.
Comments
#1
This fix worked perfectly for me. Thanks. :)
#2
Yeah!! Thanks!
#3
I had to alter the name of the function "civicrm_form_alter" to "civicrm_theme_form_alter" to get it to work, using Drupal version 6.14. PHP error log said that the function "civicrm_form_alter" had already been declared by the civicrm module and couldn't be redeclared by the civicrm_theme module. Hope that helps if anyone has same issue.
#4
I can't replicate this - is it still an issue now that #568710: Rename civicrm_form_alter() to civicrm_theme_form_alter() has landed?
#5
Tested and working fine in 6.x
#6
Where do I have to look to make the changes?
#7
@eljay, this issue has been fixed in CiviCRM Theme 6.x-1.4.