-
☆ A M B ☆
- 24,524 Posts
Doesn’t Revo’s Wayfinder have the &displayStart parameter to show the parent item?
I’m using [[getResourceField? &id=`[[*parent]]` &field=`longtitle`]] when not in a Wayfinder call. Probably a long-winded solution.
Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
-
☆ A M B ☆
- 24,524 Posts

That’s certainly different; in Evo’s Wayfinder &displayStart is 1 or 0; either it displays the start item or it doesn’t.
Still does. From RTFM:
&displayStart Show the document as referenced by &startId in the menu. Default=FALSE
So it’s a coincidence in this case that it works (presumably the actual value of ultimateParent id is 1).
Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
Well RTFM says it does, but read on, and you'll find out it doesn't! By default It creates a non-linked title for a menu in <h2></h2> html tags.
I can't find any workaround that puts the parent into the same menu structure as its children. I always end up creating a higher-level container and have the parent and its erstwhile children all as 1st generation children of the higher-level container. And it isn't always convenient to do so...
[ed. note: nicboyde last edited this post 14 years, 8 months ago.]
MODX Revolution 2.6.5-pl (traditional)
Hosted on MODX Cloud
Skype: nicbaldeagle