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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...