Thanks Susan. Just to clarify, I’m not trying to set the active classname, rather I’m trying to set the active resource ID.
To flesh out the use-case a little;
I have a page (resource) that calls the Wayfinder snippet to display a menu, using a &startId that is
not a parent of the current page. This means that no item in the generated menu will be set as active.
What I’d like to do is tell Wayfinder that a child resource of the startId
is the active page so that it will add the appropriate classnames to that page and its parents.
As I mentioned above, the way Wayfinder determines the current resource ID is hard-coded and not configurable. I will have to create a custom snippet. What I’ll eventually come up with is something like
[[CustomWayfinder? &startId=`x` &activeId=`y`]]