Is there way to get the hostname that I setup for the root node. I'm using version 4.7 and currently my setup have multiple domain website in one umbraco installation.
Never tried it but I assume umbraco.library:NiceUrlFullPath gets you the full URL of a node, off the top of me head something like the following should work:
Get the hostname setup in the root node
Hi,
Is there way to get the hostname that I setup for the root node. I'm using version 4.7 and currently my setup have multiple domain website in one umbraco installation.
Thanks,
Sherry
Hi Sherry,
Never tried it but I assume umbraco.library:NiceUrlFullPath gets you the full URL of a node, off the top of me head something like the following should work:
umbraco.library:NiceUrlFullPath($currentPage/ancestor-or-self::*[@level=1]/@id)
Rich
I'm using an umbracoURLAlias that's why I wanted to get the domain seperately. :)
I'm using an umbracoURLAlias that's why I wanted to get the domain seperately. :)
is working on a reply...