email in confluence user Profile

Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2013

hi,

email in the confluence user profile is a text field. can we make it as hyperlink. By clicking this it should take the user to mail to for the user (in the default mail client)

is this possible?

1 answer

1 vote
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2013

To modify the user profile view, edit the /confluence/decorators/profile.vmd file. This template renders the content of that page.

However, this page calls macros defined in other files. For example, the actual macro used to render the username is in /template/includes/menu-macros.vm. This is where you'll have to add logic to render the user's email address as a link and not as straight text.

Looking at it, you'll have to do some additional digging to create a link, but this is where I would start.

FWIW, if the email addresses are "hidden", then you won't be able to render the email address for the user. This is a setting in the Admin under Security Configuration > User email visibility.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events