civicrm_form_alter() conflicts with CiviCRM v3.0

fen - September 4, 2009 - 20:33
Project:CiviCRM Theme
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The civicrm_form_alter() function conflicts with a new civicrm_form_alter() defined in v3.0's civicrm.module.

This patch merely renames the function to civicrm_theme_form_alter().

Tested in CiviCRM v2.2.8 and v3.0b2

#1

fen - September 4, 2009 - 20:35
AttachmentSize
568710.patch 225 bytes

#2

fen - September 4, 2009 - 20:40

new patch file in patch format

AttachmentSize
568710-2.patch 536 bytes

#3

jackaponte - September 18, 2009 - 18:42

Thanks for the patch, fen! I had the same problem with civicrm_theme and your patch took care of it handily.

#4

rightsprocket - October 5, 2009 - 00:28

The patch works for me also. Any chance it can get rolled into a new or dev release? This way we can update the module and not have to worry about the patch? Thanks.

(I edited it to say "the patch" instead of "our patch" :) I had nothing to do with writing it)

#5

bcobin - October 11, 2009 - 18:56

Thanks a ton! Works perfectly... you rock, fen!

#6

greenbeans - October 23, 2009 - 20:29

Here's a patched version of the module.

AttachmentSize
civicrm_theme.zip 2.05 KB

#7

guaka - November 19, 2009 - 16:03

Thanks, the .zip works for me!

Please release it, it would be nicer to just have it work after a drush update :)

 
 

Drupal is a registered trademark of Dries Buytaert.