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
I'm trying to do exactly this: http://our.umbraco.org/forum/developers/xslt/2762-Using-mediaCurrent-on-image-folder
but on the new schema. If I point my macro parameter to an image, I get output. if I point it to a folder, I get nothing.
I think this is the root of my problems:
<xsl:variable name="MediaNodeId" select="/macro/MediaNode/node/@id"/>
I imagine I can't use /node/@id to get the id of the folder I'm selecting any more.
Thanks for any suggestions.
Try replacing /node/ with /Folder/ or /*/ - in the new schema node is replaced with the alias of the media type
Thanks Tom, that worked perfectly.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted