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) »
  • external_identifier in advanced search results
Pages: [1]

Author Topic: external_identifier in advanced search results  (Read 2508 times)

hokusai

  • Guest
external_identifier in advanced search results
January 02, 2008, 12:57:18 pm
I'm new to CiviCRM, so I've spent time digging through the forums and documentation trying to get up to speed.
The project I'm on requires the external_identifier and I would like to include it in the Advanced Search results page.

I managed to add it to CRM/Contact/Page/View/Tabbed.tpl for a single contact but I also need it in the Advanced Search
results.  Not necessarily to query on it, just display it.  Adding $row.external_id to CRM/Contact/Form/Selector.tpl seems
to return an empty string.

Any help would be greatly appreciated.

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: external_identifier in advanced search results
January 02, 2008, 05:52:57 pm

You will need to expose the external identifier value to the template. You'll need to make the change in

CRM/Contact/Selector.php, function getRows (line 404). If you need more specific help, please get on IRC

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

hokusai

  • Guest
Re: external_identifier in advanced search results
January 03, 2008, 08:04:04 am
Thanks for your help lobo, I'll look into it.

hokusai

  • Guest
Re: external_identifier in advanced search results
January 04, 2008, 08:31:34 am
Works perfect ... thanks lobo!

lgfish

  • Guest
Re: external_identifier in advanced search results
October 20, 2008, 12:46:14 pm
Is this still possible in 2.1?
If so can you let us know the line number?
Thanks!!!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • external_identifier in advanced search results

This forum was archived on 2017-11-26.