What do you mean? That the macroAlias is not correct? Im picking the macro from inside the editor that shouldnt be the problem. I also tried to pcik another macro but that didnt work.
Instead of previous solution I now try to add the macro inside my list macro. I do this by creating a new property in the document type called "video" that is a media picker.
I now want to add the property video (which should be the nodeid?) instead of the numbers 1234 as you see in the code. How do the syntax look for that? Can I put a <xsl:value-of select="data [@alias='video']/text()" /> in there somehow?
Listing videos from macro
I use a modified version of BootNumlocks SimplePlayer to show flv-clips.
As it is right now I pick the macro from the tinymce editor and displays the movie that way.
But now i want to make a list of movies with some explaining text.
This is the way that I do it now that doesnt work.
I have a documenttype with two richtexteditors. in the first I include the macro, in the second I write some text.
I have then created a macro that picks all nodes with that documenttype, a simple newslist u could say.
But when I look at the page the macro with the movie is not rendered but looks like this:
If the template is rendering
Then this usually implies the macro name is wrong, rather than an issue with your code.
What do you mean? That the macroAlias is not correct? Im picking the macro from inside the editor that shouldnt be the problem. I also tried to pcik another macro but that didnt work.
Im now very close to a solution:
Instead of previous solution I now try to add the macro inside my list macro. I do this by creating a new property in the document type called "video" that is a media picker.
So my code now looks like this:
I now want to add the property video (which should be the nodeid?) instead of the numbers 1234 as you see in the code. How do the syntax look for that? Can I put a <xsl:value-of select="data [@alias='video']/text()" /> in there somehow?
I've never used this approach before... but try
Isnt that exactly the code I posted above?
I solved it this way!
Works perfect :)
Chris, sorry, didnt see yout concat :)
is working on a reply...