Expose Uid in Contact Summary?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by svn7svn on October 9, 2014 at 10:38pm

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

Posted by gcb on October 20, 2014 at 6:04pm

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

Posted by svn7svn on October 22, 2014 at 12:26am

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:

AltStyle によって変換されたページ (->オリジナル) /