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) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Custom field - Search in Full-Text
Pages: [1]

Author Topic: Custom field - Search in Full-Text  (Read 497 times)

sami

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Jooma 3.3.4
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Custom field - Search in Full-Text
October 01, 2014, 11:58:06 am
I added a field, and I want to activate the Full-Text search looks up for it
please help

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Custom field - Search in Full-Text
October 01, 2014, 12:10:36 pm
did you set the field to be searchable?
can you find it in Adv Search?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

sami

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Jooma 3.3.4
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Re: Custom field - Search in Full-Text
October 01, 2014, 10:02:41 pm
Yes, and I can find it in advanced search.
I need that in Full-Text search.

I can make code changes if needed.

sami

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Jooma 3.3.4
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Re: Custom field - Search in Full-Text
October 02, 2014, 04:59:59 am
Another solution is to make 'Find Members' searches for custom fields.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom field - Search in Full-Text
October 02, 2014, 06:59:03 am

for full text search, u'll need to modify the code here:

CRM/Contact/Form/Search/Custom/FullText.php

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Custom field - Search in Full-Text
October 02, 2014, 11:31:31 am
Sami - if you explain the outcome you want there might be other work arounds you can use - eg you said 'add field to Find Members' - why

Do you know that you can display results from Adv Search as Memberships?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

sami

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Jooma 3.3.4
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Re: Custom field - Search in Full-Text
October 06, 2014, 12:35:17 am
Yes I understand.
The scenario is like this, I'm adding a field that will be used for quick search - Barcode - and the results should be Memberships, I can't use advanced search because it would take time to make several searches using a barcode scanner.

I already started digging into the code, but it's not easy code tho, I'm going through the documentation
http://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Custom-Search+Extension

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Custom field - Search in Full-Text

This forum was archived on 2017-11-26.