Hello-
I am working on my first ModX site. I am using Wayfinder for my navigation with a top level menu that only shows the main sections, and a sidebar menu that shows the subsections of the site. I have that working just fine, thanks to the awesome forums here. I would like the sidebar menu to have the main section name at the top. For instance the top menu looks something like this:
Home | Events | History | About
And the sidebar menu contains the subsections of each main section. I would like to call the page name of the main menu page and have it stay at the top of the sidebar, which is generated by Wayfinder as well. (for instance, Events will always be at the sidebar top of the events subpages) Here was what I tried first:
<div id="sidebar">
<h2>[*pagetitle*] </h2>
[!Wayfinder? &startId=`[[UltimateParent]]`!]
</div>
<!-- end #sidebar -->
But [*pagetitle*] returns the page title of the active document. I would like to know how I return the "Parent" pagetitle...I am sorry if this is a silly question but I don’t know the right syntax. I am reading the forums, wiki, and other documentation as fast as I can- but I am really new to this although I can usually figure things out eventually
Any help appreciated,
Catherine