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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • merging custom build into 1.7
Pages: [1]

Author Topic: merging custom build into 1.7  (Read 5478 times)

emckenna

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
merging custom build into 1.7
May 08, 2007, 12:11:04 pm
I'm upgrading a custom build of civicrm 1.3 to 1.7 which had changes to CRM/Contact/BAO/Query.php.

The custom build modified the whereClause() function of Query.php to include some other clauses for a Drupal Vocabulary.  As of 1.5 though, it looks like CRM_Contact_BAO_Query was refactored.  Can someone help point me in the right direction for adding my custom where clauses.

This is probably a little much for the upgrade forum.. but I had to start somewhere. ;)

Thanks,
Eric.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: merging custom build into 1.7
May 08, 2007, 01:23:54 pm

Eric:

The structure is quite simple and you should be able to merge your changes into the current Query.php

Depending on the hack involved, you might want to merge your changes in the function searchQuery which composes the final sql for the query

we can chat on IRC if u need more details etc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • merging custom build into 1.7

This forum was archived on 2017-11-26.