Fix for 6.x-dev

dragonwize - September 25, 2008 - 16:15
Project:CiviCRM Theme
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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.

#1

equinox - September 28, 2008 - 03:01

This fix worked perfectly for me. Thanks. :)

#2

cfleek - October 8, 2008 - 03:31

Yeah!! Thanks!

#3

theroth - October 28, 2009 - 17:42

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.

 
 

Drupal is a registered trademark of Dries Buytaert.