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
Hi,
I've got the following xslt
<xsl:value-of select="umbraco.library:NiceUrl(@id)" />
the output is
/web!merge©.aspx
I like to have it like
www.domainname/web!merge©.aspx
Any help would be appreciated! Thanks!
Roel
you can use
<xsl:value-of select="umbraco.library:RequestServerVariables('HTTP_HOST')" /><xsl:value-of select="umbraco.library:NiceUrl(@id)" />
Stephan is right, I also wanted http:// in front of the url, so I create this variable when I want to use the full URL
<xsl:variable name="urlPrefix"> <xsl:text>http://</xsl:text>; <xsl:value-of select="umbraco.library:RequestServerVariables('HTTP_HOST')" /> </xsl:variable>
Then you can use:
<xsl:value-of select="$urlPrefix" /><xsl:value-of select="umbraco.library:NiceUrl(@id)" />
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
full url of current node
Hi,
I've got the following xslt
<xsl:value-of select="umbraco.library:NiceUrl(@id)" />
the output is
/web!merge©.aspx
I like to have it like
www.domainname/web!merge©.aspx
Any help would be appreciated! Thanks!
Roel
you can use
Stephan is right, I also wanted http:// in front of the url, so I create this variable when I want to use the full URL
Then you can use:
is working on a reply...