On my home page document type I've got a Media Picker property which allows the use to choose a Flash movie to display. In the template for this page, I am trying to insert the name of the movie file as follows:
Doesn't look like I can place this XSLT directly into the template where my <umbraco:Item> tag was though. Is this the case? I'm still having a hard time figuring out how all these different "pieces" fit together in Umbraco. Not suer when to have an XSLT file and when to put it in the template, etc. Can I put this <xsl:value-of> tag in the template? If not, then how do I refer to the XSLT file I create for it in the template?
Media Picker Property Type
Hi,
On my home page document type I've got a Media Picker property which allows the use to choose a Flash movie to display. In the template for this page, I am trying to insert the name of the movie file as follows:
The problem I'm having is that the
tag is returning the file's ID, which clearly I don't need. How do I write the file's path and filename to the page?
Thanks,
Garrett
xslt sample
Consider using library function
umbraco.library:GetMedia(...)
Thanks!
Doesn't look like I can place this XSLT directly into the template where my <umbraco:Item> tag was though. Is this the case? I'm still having a hard time figuring out how all these different "pieces" fit together in Umbraco. Not suer when to have an XSLT file and when to put it in the template, etc. Can I put this <xsl:value-of> tag in the template? If not, then how do I refer to the XSLT file I create for it in the template?
//Garrett
Have a llok at this post
http://our.umbraco.org/forum/using/ui-questions/2913-Inserting-flash-by-end-users
is working on a reply...