1

I've created a public directory based on membership status. It displays information like org. name, phone, address, website, & products & services. The issue I'm having is that my custom field "products & services" isn't turning up in the search. I have it selected as a searchable field, but nothing turns up when typing a word that I know to be in one of our members products and services field.

The "name" search field works perfectly, but that is a standard civi field. Is there something further I need to do in order to make my custom field searchable other than selecting the searchable checkbox?

I've enabled the automatic wildcard. It should be automatically adding % to both front and end of search term. Is it different for custom fields?

If it matters, I'm using Joomla.

9
  • it might be worth seeing if you can replicate the problem on joomla.demo.civicrm.org and if you can, then share back here and someone may be able to look at your set up. i assume it would be minimal effort since you just need to create 1 x field, 1 x profile as 'proof of concept'
    – petednz - fuzion
    Aug 30, 2021 at 21:14
  • and confirm that your Custom Field is on 'contact' or a sub-contact-type or something else.
    – petednz - fuzion
    Aug 30, 2021 at 21:15
  • Thank you for taking the time to help me, but I'm afraid It's much more difficult than simply creating a searchable custom field and adding it into a profile. I have done that and here is the link. joomla.demo.civicrm.org/…
    – Lester
    Aug 31, 2021 at 16:35
  • Now, it's actually making that custom field searchable from the front end when displayed in a directory with search capabilities?
    – Lester
    Aug 31, 2021 at 16:35
  • So when the user fills out form A: Initial form (joomla.demo.civicrm.org/…) it will add the user to smart group titled "Smart Search Group 1" which is displayed and reserved for profile "B: public display search field" found here (joomla.demo.civicrm.org/…) now there are keywords to search for in the custom field. Try editing search criteria and search for "products" which is entered in that field by an org. It doesn't show up.
    – Lester
    Aug 31, 2021 at 17:06

1 Answer 1

1

I don't use Joomla but it should be the same as Drupal / WordPress where you need to enable the permission "CiviCRM: access all custom data" for anonymous user.

enter image description here

Otherwise, you need to define an ACL to explicitly add the permission for everyone to the custom group containing the custom field. I feel that it's more complex and rarely needed but it depends on the permissions you have on your installation.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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