Anybody have any ideas on how to fix Wayfinder to be able to use the &ph parameter in an uncached snippet call? (If this has been brought up before, sorry. I couldn’t find anything anywhere.)
In other words, this works:
[[Wayfinder? &startId=`3` &ph=`nav` ]]
[+nav+]
This doesn’t (doesn’t output *anything*):
[!Wayfinder? &startId=`3` &ph=`nav` !]
[+nav+]
The problem is that I need to use [[UltimateParent]] for the startId. So after much head scratching, it’s PHx to the rescue:
[[Wayfinder? &startId=`[+phx:if=`[[UltimateParent]]`:ne=``:then=`[[UltimateParent]]`+]` &ph=`nav` ]]
[+nav+]
The PHx method works for the time being, but it’s obviously not as ideal as Wayfinder working uncached. Thoughts?