Hi there,
Is there any way to have an if conditional where you reference only part of a page url.
For example:
{if page_url == "{exp:fetch_current_uri uri-only='yes'}"}
class="navon"
{if:else}
class="nav"
{/if}
will work for the link index.php/about_us/key_people/ when the current url is as such.
But what can I do to grab the about_us variable from that link?
Is there a plugin that may enable something like the following example to work?
{if page_url_segment_1 == "{segment_1}"}
class="navon"
{if:else}
class="nav"
{/if}