I have searched the docs but can’t find anything on the {exp:pageslist} tag, has that been depreciated since 2.3.x?
All I’m trying to do is set an “active” class in my navigation based upon segment_1. What am I doing wrong? Is there a better way?
pageslist_page_uri returns the uri with a leading slash so it never matches segment_1…
Here is my code:
<!-- START: Main Nav -->
<div class="menu">
<ul>
<li><a href="{site_url}"class="active" title="Home">Home</a></li>
{exp:pageslist}
<li><a href='{path={pageslist_page_uri}}'class="active" title='{pageslist_page_title}'>{pageslist_page_title}</a></li>
{/exp:pageslist}
</ul>
</div>
<!-- END: Main Nav -->
