3

We would like to extend the quick searchbox to include the fields standard civi field 'source' as well as potentially add some of our custom fields.

Any pointers to where in the base code and examples would be hugely appreciated!

enter image description here

enter image description here

  • 1
    Do you want to search by source or do you want to add the source next to the name and email of the results? – Andrei Aug 8 '16 at 15:59
2

The base code for it is located at navigation.js.tpl where all the menus have been listed with their search inputs.

Adding source as a search field seems to just add another line with a value as source.

Note: Changing core file may not be recommended as you may lose them after upgradation.

1

I've developed an extension that could customize the quicksearch fields

More info here: https://civicrm.org/extensions/quicksearch

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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