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 CiviMember (Moderator: Deepak Srivastava) »
  • I am unable to display Civicrm Contact_ID
Pages: [1]

Author Topic: I am unable to display Civicrm Contact_ID  (Read 699 times)

shinzan

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Joomla 2.5.8
  • MySQL version: 5
  • PHP version: 5
I am unable to display Civicrm Contact_ID
January 09, 2013, 03:18:34 pm
I want to display the contact id of civicrm, I have added it to the memberhsip profile as view only, but when the user clicks to edit their profile only the label appears and not the actual CIVICRM ID.  However if I click the CIVICRM view profile page it displays, is there no way to show the id on the edit screen and if not why would it even show the label but a blank area where the value would be?

Thank you very much I appologize for my nooblet questions :(

David

shinzan

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Joomla 2.5.8
  • MySQL version: 5
  • PHP version: 5
Re: I am unable to display Civicrm Contact_ID
January 11, 2013, 11:29:09 pm
I know its not a permission issue because the internal id is set to view on public pages, and its viewable on the "view profile page"  its just not visible on the  "edit profile page"

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: I am unable to display Civicrm Contact_ID
January 12, 2013, 09:20:56 am

I suspect the default value for that is not assigned and hence does not show up. I suspect no one has tried this so far and hence the below.  contact_id is not supposed to be editable and on the edit page the behavior should be;

1. The field and label and shown but the value is frozen and non-editable

2. The field and label are suppressed

would be great if you can take a look at the current code and figure out what is happening and why and provide a patch. We can help out on IRC

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

shinzan

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Joomla 2.5.8
  • MySQL version: 5
  • PHP version: 5
Re: I am unable to display Civicrm Contact_ID
January 12, 2013, 03:19:46 pm
Yes thats shat I assumed too the label shown the civicrm_contact.id shown but not editable, I will have to get with you on IRC

what server and channel do you guys ususally setup in?

Thanks again!

David

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: I am unable to display Civicrm Contact_ID
January 13, 2013, 03:58:32 am
http://civicrm.org/participate :

Quote
You can also get live support on our IRC channel #civicrm at irc.freenode.net.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • I am unable to display Civicrm Contact_ID

This forum was archived on 2017-11-26.