If I just include the page property, it works fine, but I was naively hoping that by adding in the additional text, the the page property would get rendered alongside the additional text. Obviously not. It just renders "[#siteName] offers".
I really want to reuse this macro generically (with or without including page properties) so trying to avoid doing doing too much in the XSLT - but before I give up, has anybody managed to do something equivalent to what I'm trying to achieve?
Passing a dynamic string containing a page property to a macro parameter
I'm trying to pass a dynamic string containing a page property to a XSLT macro parameter. The code in my template looks like:
If I just include the page property, it works fine, but I was naively hoping that by adding in the additional text, the the page property would get rendered alongside the additional text. Obviously not. It just renders "[#siteName] offers".
I really want to reuse this macro generically (with or without including page properties) so trying to avoid doing doing too much in the XSLT - but before I give up, has anybody managed to do something equivalent to what I'm trying to achieve?
I don't think it's possible, the quickest answer might be to just make another parameter called menuTitleAppend and use that for your additional text
Hi Tom, yeah thanks for that, I was thinking of that as a possible workaround, but thought I'd check I wasn't missing something obvious.
is working on a reply...