This seems to be a version issue somehow with caching, but I’m not sure why... check this out:
Code like this works fine when it’s in the page content:
[[!UltimateParent? &topLevel=`3`]]
But when it’s in the template, it doesn’t seem to be generating the value correctly... I’m using it to feed links in my template, eg.
<a href="[[~[[!UltimateParent? &topLevel=`3`]]]]">Top of the Folder (aka "Local Home")</a>
If I hardcode a value in the link, it works, but when left to the Snippet, the Snippet inside the template seems to fail and cough up 0, resulting in a link to the home page instead of to the "Local" home page. This causes massive craziness when the UltimateParent snippet is used to power the startId of Wayfinder.
Anyone have any ideas?
Revo 2.1.3-pl
UltimateParet 2.0