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) »
  • Contact Name Link
Pages: [1]

Author Topic: Contact Name Link  (Read 1122 times)

keg01

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
Contact Name Link
October 07, 2009, 11:12:57 am
I have been tinkering with exposing profile attributes in a j! deployment. I understand how to limit a user's ability to execute additional searches by setting a profile field's visibility to "Public Pages."

However, the default profile view (/index.php?option=com_civicrm&task=civicrm/profile/view&reset=1&cid=#) displays the "Name" at the top of the contact record as a hyperlink to the contact view (/index.php?option=com_civicrm&task=civicrm/contact/view&action=view&reset=1&cid=#). You can see this in the attached screen shot.

My question is - since this element is not part of the field list with customizable visibility via the Administration of Profile, how do I prevent this value from displaying as a hyperlink?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contact Name Link
October 07, 2009, 10:38:16 pm
That link should only show for folks who have permission to view that contact in contact/view (so shouldn't be showing up for front-end profile view in Joomla). If it is, that's a bug - so please file and issue with steps (I did a quick test and the link was NOT present).

If you still want to remove it, you'll need to create a custom copy of that template: CRM/Profile/Page/View.tpl

http://wiki.civicrm.org/confluence/display/CRMDOC/Customizing+CiviCRM+Screens
Protect your investment in CiviCRM by  becoming a Member!

keg01

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
Re: Contact Name Link
October 08, 2009, 01:11:54 pm
Yes, any registered J! user sees the hyperlink as portrayed in the screen shot. Two follow-ups, if I might:

1) I don't see an issue/bug forum here and in the Issue Tracker (jira) I did not see a way to submit an entry - where should I document this behavior?

2) For the hacking of the template, I don't see where the core CivicCRM files are in this J! 1.5/CiviCRM 3.0 installation. You refer to CRM/Profile/Page/View.tpl and I'm not seeing this structure anywhere in J! web root, components/com_civicrm, or tmp or anywhere else. Could you nudge me into the right direction to the core files???

I'm a 2 week veteran of Civicrm and I appreciate the guidance. Thank you!

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact Name Link
October 08, 2009, 02:50:09 pm
Quote
1) I don't see an issue/bug forum here and in the Issue Tracker (jira) I did not see a way to submit an entry - where should I document this behavior?
First you need to create an account in jira and then submit an issue.

Quote
2) For the hacking of the template, I don't see where the core CivicCRM files are in this J! 1.5/CiviCRM 3.0 installation. You refer to CRM/Profile/Page/View.tpl and I'm not seeing this structure anywhere in J! web root, components/com_civicrm, or tmp or anywhere else. Could you nudge me into the right direction to the core files???

It will be in
Code: [Select]
administrator/components/com_civicrm/civicrm/templates/CRM/Profile/Page/View.tplFor more information on custom templates, you should check: http://wiki.civicrm.org/confluence/display/CRMDOC/Customizing+CiviCRM+Screens

HTh
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Contact Name Link

This forum was archived on 2017-11-26.