CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviEngage not working properly with CiviCRM 3.3.1
Pages: [1]

Author Topic: CiviEngage not working properly with CiviCRM 3.3.1  (Read 860 times)

josue

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
    • PTP
  • CiviCRM version: 3.4.4, 4.1.1
  • CMS version: Drupal 6.24, Drupal 7.12
  • MySQL version: 5.0
  • PHP version: 5.2
CiviEngage not working properly with CiviCRM 3.3.1
January 03, 2011, 09:20:20 am
hey folks,

i did a new install of civicrm 3.3.1 and then ran thru the civi_engage install procedure.

the one thing that is not working properly is the custom group Demographics. this is the custom group that is set as a Tab but is injected into the regular demographic section on the contact summary page.

when i edit a record there is no access to these fields. but when i do an advanced search, there is a section for the custom fields that has Demographics.

when i change the custom group style setting from Tab to Inline the section shows up where it is supposed to.

thanks in advance...

--josue

josue

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 7
    • PTP
  • CiviCRM version: 3.4.4, 4.1.1
  • CMS version: Drupal 6.24, Drupal 7.12
  • MySQL version: 5.0
  • PHP version: 5.2
Re: CiviEngage not working properly with CiviCRM 3.3.1
January 03, 2011, 01:12:09 pm
lobo patched the civi_engage module with the following:

Code: [Select]
Index: civicrm_engage.module
===================================================================
--- civicrm_engage.module (revision 31572)
+++ civicrm_engage.module (working copy)
@@ -134,7 +134,9 @@
     $templateDir = $engageRoot . 'templates' . DIRECTORY_SEPARATOR;
     $template =& CRM_Core_Smarty::singleton( );
     if ( is_array( $template->template_dir ) ) {
-        array_splice($template->template_dir, 1, 0, $templateDir);
+        $template->template_dir = array_merge( array( $templateDir ),
+                                               $template->template_dir );
+        // array_splice($template->template_dir, 1, 0, $templateDir);
     } else {
         $template->template_dir = array( $templateDir, $template->template_dir );
     }

i cleared the templates_c directory and now it works!

thanks lobo!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviEngage not working properly with CiviCRM 3.3.1

This forum was archived on 2017-11-26.