It's the funniest thing, but I can't figure out how to write the URL of the current page to the page?! I know how to do it in the XSLT file, but how about the template?? I tried "insert page field" tool, but don't know what property it is, and {umbraco.library:NiceUrl(@id)} doesn't work in a template.
how to get current url
It's the funniest thing, but I can't figure out how to write the URL of the current page to the page?! I know how to do it in the XSLT file, but how about the template?? I tried "insert page field" tool, but don't know what property it is, and {umbraco.library:NiceUrl(@id)} doesn't work in a template.
Anyone?
Thanks,
Garrett
Hi Garrett
You can use some inline xslt to find the URL to the current page in your template like this:
This should write out the url to the page that you are currently standing on.
Hope this helps.
/Kim A
is working on a reply...