kentico_zdenekc
-
4/18/2012 2:25:46 AM
RE:Linked document with images
Hi,
If you're getting not just the current site (from the context) but any site, the custom function would be the most reliable way. Inside this function, you can use
SiteInfoProvider.GetSiteInfo(NodeLinkedNodeSiteID)
to get the SiteInfo object, which has the property
DomainName
that you can easily use to build your link. Optionally you may pick one of the "SiteDomainAliases" hashtable.
Should you need any additional details, please feel free to ask.
Regards, Zdenek
|