I'm trying to access an folder containing images by XSLT. I want' the specific folder to be choosen inside the macro. So I used a mediaCurrent to select a image folder but it returns nothing.
Is mediaCurrent able to return a folder-node? If not, how do I access a folder node inside the media-tree from outside the XSLT by using a macro?
I tried to mark your answer as the solution but this doesn't seem to work :-(
Oh, by the way, in both of your examples on your homepage (I guess its yours) you have an error. First you declare a variable named "MediaNodeId" but later on you refer to "MediaRootId" - guess you should change that.
Using mediaCurrent on image folder?
Hello,
I'm trying to access an folder containing images by XSLT. I want' the specific folder to be choosen inside the macro. So I used a mediaCurrent to select a image folder but it returns nothing.
Is mediaCurrent able to return a folder-node? If not, how do I access a folder node inside the media-tree from outside the XSLT by using a macro?
Greets, Arnim.
Hi Arnin, mediaCurrent will give you the xml node containing the media info.
See this example:
You can check out more here.
>Tommy
Perfect and EXACTLY (sorry for shouting) what I was looking for!
Thanx a lot, you solved my problem in less than 10 minutes!
Greets, Arnim.
I'm glad I was able to help out
>Tommy
*just reminding the original poster to mark the right post as solution*
I tried to mark your answer as the solution but this doesn't seem to work :-(
Oh, by the way, in both of your examples on your homepage (I guess its yours) you have an error. First you declare a variable named "MediaNodeId" but later on you refer to "MediaRootId" - guess you should change that.
Arnim.
@Peter: I did, three times... its says "solved" but when I visit the thread again its back to normal?!?
@Arnim: Thanks for pointing out the errors on the site. I will correct them immediately.
@Arnim uh oh, perhaphs a good idea to post this in forum-bugs then
is working on a reply...