I'm modifying some xslt provided in blog4umbraco. I 'm looking to get the xslt to iterate nodes from a contentPicker-paramater, rather than the $currentPage.
I have crated a macro parameter of type contentPicker and search-and-raplaced the occurances of $currentPage to /macro/myParameterAlias in the xslt. But that does not work as intended...
Change currentPage to contentPicker
Hello,
I'm modifying some xslt provided in blog4umbraco. I 'm looking to get the xslt to iterate nodes from a contentPicker-paramater, rather than the $currentPage.
I have crated a macro parameter of type contentPicker and search-and-raplaced the occurances of $currentPage to /macro/myParameterAlias in the xslt. But that does not work as intended...
How can I achieve this?
You need to do something like this (not tested)
Then replace all your $currentPage variables to $currentNode.
Rich
Works beautifully!
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.