Hi, I really like the look of a menu system where the current page is highlighted in the navigation.
For a simple example, see the K2 wordpress menu theme:
http://getk2.com/
This is an easy way to let the user know where he is right in the menu.
With PHP, one would dynamically control the CSS-styled navigation with an ordered list like this:
<div id="navigation">
<ul>
<li<?php if ($thisPage=="Page One")
echo " id=\"currentpage\""; ?>>
<a href="#">Page One</a></li>
<li<?php if ($thisPage=="Page Two")
echo " id=\"currentpage\""; ?>>
<a href="#">Page Two</a></li>
<li<?php if ($thisPage=="Page Three")
echo " id=\"currentpage\""; ?>>
<a href="#">Page Three</a></li>
<li<?php if ($thisPage=="Page Four")
echo " id=\"currentpage\""; ?>>
<a href="#">Page Four</a></li>
</ul>
</div>
...And a small bit of PHP at the beginning of each page which identifies the page, such as this:
<?php $thisPage="Page One"; ?> <!--- Identifies "currentpage" for navigation menu in header.php --->
However, I can’t figure out how to get such a dynamic current-state navigation system in MODx using Wayfinder.
Can anyone point me in the right direction?
Thank you!