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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Modifying search result list fields to contain a custom field
Pages: [1]

Author Topic: Modifying search result list fields to contain a custom field  (Read 1152 times)

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Modifying search result list fields to contain a custom field
April 02, 2011, 06:34:03 pm
Modifying search result list fields to contain a custom field in place of country

I'm testing with Drupal 7 - CiviCRM 4.0 b2.  In our production 1.9 version we modified the country field in the result search list of contacts to instead be a couple of custom fields.   I was wondering if this modification is easier in versions after our 1.9.    We'd like the standard result listing to contain a custom field rather than country (all of ours are US).  Any idea where to start looking in version 3 + to do this modification? 

Thanks.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Modifying search result list fields to contain a custom field
April 05, 2011, 05:00:36 pm
You should check "Search Views" feature in Advanced Search. Basically you can use profile to render the search result. You can also pass profile id via url. for eg: http://sandbox.civicrm.org/civicrm/contact/search/advanced?reset=1&id=1

where id = profile id

Hth

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Modifying search result list fields to contain a custom field

This forum was archived on 2017-11-26.