This documentation refers to an older version of CiviCRM (3.4 / 4.0). View latest version.

Aller directement à la fin des métadonnées
Aller au début des métadonnées
This page refers to CiviCRM 3.4 and 4.0, current STABLE version.

Documentation Search


CiviCRM 3.4 and 4.0 Documentation

Support and Participation

Developer Resources


CiviCRM books!

Make sure to check out the FLOSS Manual Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Or support us by buying an eBook or hard copy of Using CiviCRM from Packt Publishing.

This describes how to add a keyword bookmark (Example is Firefox) to search for a contact in CiviCRM. The need for this came from answering incoming calls from clients - the ability to quickly bring up a list of possible matches helps leverage client details while on the phone.

The resultant url was:

http://www.CIVISITE.COM: The URL for your CiviCRM install.
%s: This is where Firefox will insert the search terms - 'smith' in the example below. Adjust for other browsers or methods of invoking, e.g. Launchy , Quicksilver  or IE Accelerators.

Thus with this keyword bookmark enabled (I used 'civi' as the keyword) I can type 'civi smith' in the address bar and a page will come up listing all 'smiths' in my database. 

Taking it further.
With a bit of javascript, the keyword url will default to the search page if no search term is given

In the URL above, the first link is the original link from the first example, while the second is the address used if no search terms are given.

I believe this can work for other custom searches as well, you need to adjust the CSID accordingly and (in my unlearned case) add a sprinkling of trial and error.

Notes:

  • You need to be logged in for this to work
  • Don't forget to put your site into the URL, twice in the second version
  • If searching for more than one word, use the following syntax: lastname,firstname
  • This integrates nicely into launchy (use the 'weby' plugin) / quicksilver etc
Étiquette
  • Aucun