While getResources is a fine solution, it still doesn't solve my original problem.
See, while Wayfinder advertises it has "context abilities", it just doesn't work as it should...
I think there is a bug somewhere inside switching back to the original context, which messes things up on my end.
Try it for yourself. Create 2 contexts with 2 resources, call it: &startId=`0`&startIdContext=`othercontext`&contexts=`web,othercontext`
And after the Wayfinder call, place a link to a resource inside the other (note: not "othercontext") context.
- web
[ul]
[li]Resource (1)
- Resource 2 (2)
[/li]
[li]other
- Resource 3 (3)
- Resource 4 (4)
[/li]
[/ul]
Thus, when your Wayfinder is in (1), place a link next to it like so: [[~3]].
That messes things up BIGTIME on my end.
Oh, also don't forget to create a modContextSetting named "site_url" inside your othercontexts defining a unique URL. Doesn't really have to work I guess.
/edit
WOW, this forum has sucky nested UL/LI support.
I guess you get my drift.