0

We are not wanting to have the links on a profile view page to query the data. For instance, an email link should be 'mailto:' and not search function. I viewed the page as see

<!-- .tpl file invoked: CRM/Profile/Page/View.tpl. Call via form.tpl if we have a form in the page. -->

as the template but in the code I do not see how to change. Alternatively, removing all link on the view profile page would also work.

6
  • I used pointer-events:none CSS in a View.extra.tpl file but I would like to be more specific to a certain profile. However, adding that profile in the directory did not apply the code ... docs.civicrm.org/dev/en/latest/framework/templates/customizing/….
    – Andy Burns
    Jul 31, 2019 at 17:34
  • what CMS is this?
    – petednz - fuzion
    Jul 31, 2019 at 19:47
  • WP... trying to make use of profiles. It's all we got.
    – Andy Burns
    Jul 31, 2019 at 20:20
  • can you screenshot your profile settings? isn't there a way to set it to eg List but not Search?
    – petednz - fuzion
    Aug 1, 2019 at 4:54
  • There is no such setting
    – Andy Burns
    Aug 3, 2019 at 1:14

1 Answer 1

1

You can simply set a field's Visibility setting to Expose Publicly and it will not use the field as a search function.

From the Visibility field helper text:

When visibility is 'Expose Publicly and for Listings', users can also click the field value when viewing a contact in order to locate other contacts with the same value(s) (i.e. other contacts who live in Poland).

Your Answer

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

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