Closed alfrekjv closed 12 years ago
@alfrekjv
You have access to the $request variable in ALL ppi views,
$request['controller'] and $request['method']
with this you can make ternaries for the main nav.
<a href="" class="<?= $request['controller'] == 'something' ? 'active' : ''; ?>" >Something</a>
Kewl, let me add that feature to close this ticket.
@alfrekjv add a PR, thanks! :-)
Problem Solved.
Thanks for the commit @alfrekjv
The topbar Menu needs to get implemented the active status, so users/visitors know where they are at a simple glance.
Currently there's an .active class (and it's attached to Home), it just need to be integrated on the code.
Any volunteers? lol
Thanks a lot.