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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • How do I Remove Search Links that are Generated in the Profile's View.tpl?
Pages: [1]

Author Topic: How do I Remove Search Links that are Generated in the Profile's View.tpl?  (Read 986 times)

farmrchrys

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 2
    • Spokane Moves to Amend the Constitution (under development)
  • CiviCRM version: CiviCRM 4.4.6
  • CMS version: Drupal 7.31
  • MySQL version: MySQL 5.5.37
  • PHP version: PHP 5.3.28
How do I Remove Search Links that are Generated in the Profile's View.tpl?
May 23, 2009, 07:14:49 am
I have a profile that has publicly searchable fields. When I run a search and click "view" for a search result listing, the resulting page shows the profile field labels and the values but the values are all clickable links that are supposed to search for similar listings. I don't need this function and I don't want it. In an earlier CiviCRM version, I was able to modify something, can't even remember now, that prevented the hyperlink from being generated but still displayed the value. It looks like this is constructed differently in 2.2. I'd love some help to learn how to change whatever needs to be changed so that the end result of this process (the view listing page) contains this:

Code: [Select]
<td class="view-value">
Chrysalis Farm at Tolstoy
</td>

instead of this:

Code: [Select]
<td class="view-value">
<a href="/civicrm/profile?reset=1&force=1&gid=1&custom_2=Chrysalis+Farm+at+Tolstoy">Chrysalis Farm at Tolstoy</a>
</td>

Thanks!

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: How do I Remove Search Links that are Generated in the Profile's View.tpl?
May 23, 2009, 07:52:21 am

In your visibility settings for that profile field, use Public Pages instead of Public Pages and Listings

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • How do I Remove Search Links that are Generated in the Profile's View.tpl?

This forum was archived on 2017-11-26.