Answers.Body: <p>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 &gt;&gt; Administer &gt;&gt; Customize Data and Screens &gt;&gt; Search Preferences.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-21T11:36:17.880Z
Answers.Text: 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?
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-22T07:31:58.957Z
Answers.Text: Had a change to try on https://wpmaster.demo.civicrm.org/?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-25T08:13:56.273Z
Answers.Text: thank you @PradeepNayak
Answers.UserDisplayName: Renaud F
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-21T09:22:07.243Z
Answers.LastActivityDate: 2021-05-21T09:22:07.243Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>Is this for search results? Instead you could try turning on the built-in extension &quot;Search Kit&quot; and it lets you add columns.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-21T11:15:30.007Z
Answers.Text: We just want to improve the basic and advanced searches result template to get a simpler view
Answers.UserDisplayName: Guillaume Sorel
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-20T17:07:26.163Z
Answers.LastActivityDate: 2021-05-20T17:07:26.163Z
Answers.UserDisplayName: Demerit
Body: <p>The purpose is to modify the template by adding new columns.As you can see in screenshot CIVICRM propose Nom &quot;name&quot;, courriel &quot;email&quot;,Telephone &quot;phone&quot;, Action . So i want to add column &quot;Job&quot; before column Action.<br />
  <a href="https://i.sstatic.net/dx9IN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dx9IN.png" alt="enter image description here" /></a></p>
  <p>I've tried to replace this code in field 'selector.tpl'</p>
  <p><a href="https://i.sstatic.net/Sknci.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Sknci.png" alt="enter image description here" /></a></p>
  <p>by this one</p>
  <p><a href="https://i.sstatic.net/BLXi6.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BLXi6.png" alt="enter image description here" /></a></p>
  
Tags: <templates><custom-templates>
Title: Add new column to table in field 'selector.tpl'?
ThreadText: # Add new column to table in field 'selector.tpl'?
  
  (Asked by: username_0 on 2021-05-20)
  
  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](https://i.sstatic.net/dx9IN.png)](https://i.sstatic.net/dx9IN.png)
  
  I've tried to replace this code in field 'selector.tpl'
  
  [![enter image description here](https://i.sstatic.net/Sknci.png)](https://i.sstatic.net/Sknci.png)
  
  by this one
  
  [![enter image description here](https://i.sstatic.net/BLXi6.png)](https://i.sstatic.net/BLXi6.png)
  
  **Tags:** templates, custom-templates
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2021-05-21. Score: 3 | Accepted answer
  
  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.
  
  > **Comments:**
  > **username_2**: 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?  
  > **username_1**: Had a change to try on https://wpmaster.demo.civicrm.org/?  
  > **username_0**: thank you @username_1  
  
  ---
  
  ### Answer by username_3 on 2021-05-20. Score: 2
  
  Is this for search results? Instead you could try turning on the built-in extension "Search Kit" and it lets you add columns.
  
  > **Comments:**
  > **username_2**: We just want to improve the basic and advanced searches result template to get a simpler view  
  
  ---
  
  