Forum Discussion
HaidongG
11 years agoLithium Alumni (Retired)
Hi dhiraj_gophane ,
I guess that you may have to log ticket to expose hostname in the community configuration file, by default, only "phase" (stage or prod) is explosed.
dhiraj_gophane
11 years agoLeader
but will it be useful in email template?
As very few context variables are used in email template
As very few context variables are used in email template
- ChiaraS11 years agoLithium Alumni (Retired)
Hi,
what email template are you testing with? I see examples of email templates that use the $hostname variable to build a community url (<img src="http://$hostname/html/assets/logo.gif")...
Or you can try ${emailUrls.getCommunityUrl("/")} as listed on this article: http://community.lithium.com/t5/Developers-Knowledge-Base/Email-template-context-objects/ta-p/75924
Related Content
- 2 years ago
- 2 years ago
- 6 years ago
- 3 years ago