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
Any idea why this does not work?
<umbraco:Item runat="server" xslt="umbraco.library:RequestServerVariables('URL')" />
Need to display the current URL in a custom 404 page and wanted to avoid creating a complete macro for it...
Hi Nikolas,
Just add an arbitrary field from the page (e.g., pageID):
<umbraco:Item field="pageID" xslt="umbraco.library:RequestServerVariables('URL')" runat="server" />
/Chriztian
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Inline XSLT: Getting server variables
Any idea why this does not work?
<umbraco:Item runat="server" xslt="umbraco.library:RequestServerVariables('URL')" />
Need to display the current URL in a custom 404 page and wanted to avoid creating a complete macro for it...
Hi Nikolas,
Just add an arbitrary field from the page (e.g., pageID):
<umbraco:Item field="pageID" xslt="umbraco.library:RequestServerVariables('URL')" runat="server" />
/Chriztian
is working on a reply...