We need to customise a template called 'Selector.tpl', we have identify this template with debugging on and copied it into /wp-content/uploads/civicrm/templates/ and this directory is declared in Directories. We followed the documentation and it should work fine when it doesn't. The template is not loaded. We've tried on the original file that gets modify in the desired way but we want to use the custom one. Folder has 755 rights on and File has 644 on. Is there something special to care about?

enter image description here

  • What is the actual path of Selector.tpl in your custom template file? May 18, 2021 at 20:21
  • /home/domain/testwpcivi/wp-content/uploads/civicrm/templates/Selector.tpl. Is this wrong? May 19, 2021 at 8:40

1 Answer 1


The Selector.tpl is placed wrong hence its not invoked. It should follow exact path of CiviCRM core module

For example if the Selector.tpl in Core is placed under plugins/civicrm/civicrm/templates/CRM/Contact/Form/Selector.tpl than in template over-ride it should be /home/domain/testwpcivi/wp-content/uploads/civicrm/templates/CRM/Contact/Form/Selector.tpl

Once you have tpl placed under correct directory path clear civicrm cache

  • this is it! I read this in a post from 2011 and I wasn't sure it still was the right way. thank. May 19, 2021 at 9:21

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.