Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
is it possible to get the absolute path of a page from xslt? For example, for a page like http://www.website.com/page.aspx how can I get the http://www.website.com/ part of the url?
Thank you!
<xsl:value-of select="umbraco.library:RequestServerVariables('SERVER_NAME')"/>
Will do it
<xsl:text>http://</xsl:text><xsl:value-of select="umbraco.library:RequestServerVariables('SERVER_NAME')"/>
Dan
Yes, that's it! Thank you!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
get the absolute path of the page
Hello,
is it possible to get the absolute path of a page from xslt? For example, for a page like http://www.website.com/page.aspx how can I get the http://www.website.com/ part of the url?
Thank you!
Will do it
Dan
Yes, that's it! Thank you!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.