Using more than one mediaCurrent parameter type for a Macro causes issues...
umbraco v
4.5.1 (Assembly version: 1.0.3858.40498)
I've set up a macro to receive 2 parameters that are of type mediaCurrent. (basically for an swf and a alternate image)
All saves ok on the developler side (xslt and macro), however, when I come to insert the macro into a template when using the choose functionality of the mediaCurrent items, the first in the list works as expected, the second in the list allows browsing of the media, but on selecting an item you are returned to the parameter selection screen with that mediaCurrent option having nothing selected.
To work around this, I thought I'd just add the node into the source code whilst the UI was sorted. But then found that doing this doens't follow through either, the first parameter you can access the umbracoFIle, but the second one with the exact same syntax just returns an empty string.
Using more than one mediaCurrent parameter type for a Macro causes issues...
umbraco v 4.5.1 (Assembly version: 1.0.3858.40498)
I've set up a macro to receive 2 parameters that are of type mediaCurrent. (basically for an swf and a alternate image)
All saves ok on the developler side (xslt and macro), however, when I come to insert the macro into a template when using the choose functionality of the mediaCurrent items, the first in the list works as expected, the second in the list allows browsing of the media, but on selecting an item you are returned to the parameter selection screen with that mediaCurrent option having nothing selected.
To work around this, I thought I'd just add the node into the source code whilst the UI was sorted. But then found that doing this doens't follow through either, the first parameter you can access the umbracoFIle, but the second one with the exact same syntax just returns an empty string.
<xsl:variable name="swfFile" select="/macro/Swf/File/umbracoFile"/>
<xsl:variable name="alternateImageFile" select="/macro/AlternateImage/File/umbracoFile"/>
So looks like it's something more serious under the hood than just the UI paramater selection.
Any Help???
is working on a reply...