If you need to send in a property MyImage into the macro, you could use:
[code][/code]
And what is that macro supposed to do? Get the image url for the image node? In that case you no longer need to use a macro, you could use some inline xslt to get the image
How to add current node to marco
I thought i posted this quesiton? Anyway here goes again.
Wondering how to add the current node into the following macro. ie imageID
I can PageField 'MyImage' that returns my current node. So really this just a syntax question.
I basically want to do something like
any thoughts?
What about doing a
in your XSLT file?
Hi Anthony,
If you need to send in a property MyImage into the macro, you could use:
[code][/code]
And what is that macro supposed to do? Get the image url for the image node? In that case you no longer need to use a macro, you could use some inline xslt to get the image
Have a look at this url http://umbraco.org/documentation/books/inline-xslt for a brief expl on using inline xslt.
Regards,
/Dirk
thanks Dirk, very useful link.
.wrapper-portfolio
{
background-image: url('');
}
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.