I have this code to fetch me a picture from the media library thus letting the user pick a logo for his site. I have a property at top level where this file is selected and the macro is placed within the Master template - but all nested childs do not load this value?
Macro to fetch recursively
I'm very new to XSLT so please bare with me!
I have this code to fetch me a picture from the media library thus letting the user pick a logo for his site. I have a property at top level where this file is selected and the macro is placed within the Master template - but all nested childs do not load this value?
Any thoughts?
Thanks in advanced!
/Brian
Hi Brian
I think you should write this in the GetMedia extension: $currentPage/ancestor-or-self::node/data [@alias = 'homepageLogo']
Hope this helps
/Jan
Hi Jan,
It works - perfect!
Thanks!
/Brian
is working on a reply...