CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Keyword Bookmark Search - Nifty
Pages: [1]

Author Topic: Keyword Bookmark Search - Nifty  (Read 1240 times)

adamwood

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
    • Green Professionals
Keyword Bookmark Search - Nifty
August 04, 2010, 08:20:43 pm
Just thought to share an idea that I came up with and got some help with from the good folk at http://www.communitybuilders.com.au.

The idea was to have a keyword bookmark in firefox to search for a contact in civi.

The resultant url was:
http://www.CIVISITE.COM/index.php?q=civicrm/contact/search/custom&csid=15&reset=1&force=1&text=%s

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. Useful when dealing with incoming phonecalls.

with a bit of javascript, the keyword url will default to the search page if no search term is given

javascript:if('%s')%20location.href='http://www.CIVISITE.COM/index.php?q=civicrm/contact/search/custom&csid=15&reset=1&force=1&text=%s';else%20location.href='http://www.CIVISITE.COM/civicrm/contact/search&reset=1';

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 / quicksilver etc

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Keyword Bookmark Search - Nifty
August 09, 2010, 03:22:26 am
Adam,

Thanks for sharing - maybe you would like to add it to CiviCRM documentation, for example as a subpage of http://wiki.civicrm.org/confluence/display/CRMDOC32/Specific+Administration+Tasks? It would be really useful for many CiviCRM users and it's worth to expose your recipe more. :-)

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

adamwood

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
    • Green Professionals
Re: Keyword Bookmark Search - Nifty
August 09, 2010, 05:41:32 am
Done, http://wiki.civicrm.org/confluence/display/CRMDOC32/Search+CiviCRM+via+Keyword+Bookmarks
That was my first ever wiki post, so feel free to massage it into a more appropriate style and add further explanation.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Keyword Bookmark Search - Nifty
August 09, 2010, 06:46:28 am
Looks good, thanks a lot. :-)

m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Keyword Bookmark Search - Nifty
August 09, 2010, 07:19:34 am
Cool, thanks for sharing.

We "solved" the same issue slightly differently: we have a jabber  bot that is plugged on civicrm (using the api). if you ask the bot for any name, it returns the contacts that matches (up to 20).

For those that did attend one of my training or civicon, i'm referring to miss moneypenny.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Keyword Bookmark Search - Nifty

This forum was archived on 2017-11-26.