The purpose is to modify the template by adding new columns.As you can see in screenshot CIVICRM propose Nom "name", courriel "email",Telephone "phone", Action . So i want to add column "Job" before column Action.
enter image description here

I've tried to replace this code in field 'selector.tpl'

enter image description here

by this one

enter image description here

2 Answers 2


You can create a profile with the fields you want to display as a column and set the 'Default Contact Search Profile' in Search Preferences (CiviCRM >> Administer >> Customize Data and Screens >> Search Preferences.

  • this is a great tip. I've tested on the Drupal Demo and it works fine but on our Wordpress instances it's cracked. First row has no header anymore :-/ Except setting 'Search view' for this profile and turning it active, is there anything to define? Commented May 21, 2021 at 11:36
  • Had a change to try on wpmaster.demo.civicrm.org? Commented May 22, 2021 at 7:31
  • thank you @PradeepNayak
    – Renaud F
    Commented May 25, 2021 at 8:13

Is this for search results? Instead you could try turning on the built-in extension "Search Kit" and it lets you add columns.

  • We just want to improve the basic and advanced searches result template to get a simpler view Commented May 21, 2021 at 11:15

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.