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) »
  • Custom Field linked to a Custom Smart Group or Search Query
Pages: [1]

Author Topic: Custom Field linked to a Custom Smart Group or Search Query  (Read 1120 times)

level09

  • Guest
Custom Field linked to a Custom Smart Group or Search Query
February 01, 2008, 01:36:53 pm
Hi,

What I am trying to do is adding a new custom field (say Date of brith) . then when clicking on that Date I want to all Contacts that born on that Date to be returned.
Same goes for a university field , when a university name is clicked it should return all contacts in that university.

Could you please direct me on which files I need to modify in order to make this ?
I believe  this could be achieved by passing post variables to the search file.

Thanks in Advance


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom Field linked to a Custom Smart Group or Search Query
February 02, 2008, 03:09:12 pm
The Profile-based search / listing / view contact functionality includes this feature. You can see an example on the public demo.
A "view contact" page where the custom field "Most Important Issue" has been added with Visibility = Public User Pages and Listings can be found here:
http://demo.civicrm.org/drupal/civicrm/profile/view?reset=1&id=6&gid=1

... note that the value of the custom field is a link. Clicking on the link returns a list of all contacts who share that value.

If you haven't read up on the profile functionality - you'll want to start here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Profiles+Admin
Protect your investment in CiviCRM by  becoming a Member!

level09

  • Guest
Re: Custom Field linked to a Custom Smart Group or Search Query
February 02, 2008, 03:13:39 pm
Thank you so much Dave,
Actually I'm new to this huge system.
That was so helpful.

Kindest Regards

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom Field linked to a Custom Smart Group or Search Query

This forum was archived on 2017-11-26.