Hi Chriztian, nice thought. But, the top most node (homepage node) is the one that has all of the values. The values display fine when viewing that page, but if I go one level down in the tree, the values are empty (with exception of the two types mentioned above). Just tried applying your suggestion and didn't work...
Okay - that sounds very weird - in any case, this is all handled by the MSXML parser/processor, so the problem lies with the XML data or the XSLT - or something with the way Umbraco hands over the $currentPage value...
Could we see a little more XSLT and perhaps a tiny chunk of the XML ?
Hi, yes for sure. In the example below, the twitterLink and linkedInLink properties are working on the products page, but nothing else from this contact XSLT. Thanks again!
Hi Chriztian, I was playing around with macro caching and now it's working all of a sudden (no changes). Could it be something with that (I made sure to leave Cache by Page checked).
Recursive in 6.1.5 not working?
Hi all, I'm not sure if I'm going nuts, but for some reason the ancestor-or-self axes seems to be working sporadically in 6.1.5?
$currentPage/ancestor-or-self::*/nameOfProperty
It appears that properties that use URL Picker and MNTP are working, but others do not (like RTE and Textstring)?
Anyone else seen this?
Thanks, Nik
Hmmm, well it ought to. I really haven't experienced any issues in that direction!
Could you describe a bit more?
Hi Nik,
Be sure to pick the one that actually contains something, e.g.:
- otherwise you'll get the value of the topmost, which may be empty...
/Chriztian
Hi Chriztian, nice thought. But, the top most node (homepage node) is the one that has all of the values. The values display fine when viewing that page, but if I go one level down in the tree, the values are empty (with exception of the two types mentioned above). Just tried applying your suggestion and didn't work...
Thanks for any/all suggestions.
Okay - that sounds very weird - in any case, this is all handled by the MSXML parser/processor, so the problem lies with the XML data or the XSLT - or something with the way Umbraco hands over the
$currentPage
value...Could we see a little more XSLT and perhaps a tiny chunk of the XML ?
/Chriztian
Hi, yes for sure. In the example below, the twitterLink and linkedInLink properties are working on the products page, but nothing else from this contact XSLT. Thanks again!
XSLT (one of many)
And here's part of the XML (including the homepage and the product page where the recursive values are not showing in the XSLT)
Hi Nik,
Using my approach works for me, so just to be sure that this was what you tried - instead of this:
I do this:
You're saying this doesn't work in your installation, right?
EDIT: I wrote a description of how this works as a reply to a previous question here.
/Chriztian
Hi Chriztian, I was playing around with macro caching and now it's working all of a sudden (no changes). Could it be something with that (I made sure to leave Cache by Page checked).
is working on a reply...