Expose Uid in Contact Summary?

Events happening in the community are now at Drupal community events on www.drupal.org.
svn7svn's picture

Is there a way to expose the Uid of the associated Drupal user on the RedHen contact screen?

We need a unique member id number as part of our membership tracking and i want to use the Uid already generated by the Drupal db.

Comments

Why not just use the Contact

gcb's picture

Why not just use the Contact ID?

If UID has some special purpose for you, you can hook into the display of the Contact, get an entity metadata wrapper for the contact, and use the "user" property. As long as the Contact is always connected to a user, this should work fine.

I hadn't thought of using the

svn7svn's picture

I hadn't thought of using the contact id, but in any case, the display at redhen/memberships is not a view, so the question remains. I'm assuming your talking about inserting custom php into the page.tpl file?

discipline, concentration & wisdom
-----------------------
Twitter - @luoyegongfu
Facebook - /svn7svn

RedHen CRM

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: