Using CiviCRM 5.x and Drupal 7 on localhost.

2 Questions:

1- How to fetch URL that has a full lists of contacts. Right now I can copy they URL, but when I flush the cache the URL changes, so I would need something like Path Auto for this?

2- How to modify the fields the table list view of contact

I'm attaching the screen capture for demonstration purposes:

enter image description here

  • To clarify, this question is not about Drupal Views, but search results and profiles.
    – Aidan
    Commented Jul 30, 2018 at 10:18

2 Answers 2

  1. You can configure profile to use as contact search. You can also control the result columns in profile search. To display contact result by default you can append force=1 in url.

Ref: https://docs.civicrm.org/user/en/latest/the-user-interface/searching/#views-for-display-contacts

  1. You can create smart group which holds all the contacts and use the contacts link from Manage group page to use as a url. enter image description here

  2. Use contact search url and apend force=1 to display contact by default.



  • Your force=1 worked perfectly, I can edit columns also, now how to do create a URL to my specific search view criteria? This is the URL localhost/crm/civicrm/contact/search/… Commented Jul 26, 2018 at 7:46
  • localhost/crm/civicrm/contact/search/advanced?force=1&reset=1 Commented Jul 26, 2018 at 8:29

Answer part of your Question.

You can create a Profile - and then from Adv Search you can specify which 'Views For Display Contacts' to use

If you are displaying the search results as contacts, you can modify the columns displayed by creating a Profile containing a different set of contact fields and then selecting that Profile here. For example you may want to include columns for Gender and Date of Birth, while eliminating Country. (learn more...)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.