How to reproduce the problem and/or test the patch::
1. Turn on mod_articles_categories (now current category has "active" class) 2. Turn on link rewrite (SEF). (now the class disappears)
Successful Tests:
Easy:
Summary
In articles categories module (mod_articles_categories) active category doesn't have "active" class, when SEF is on
Details
This line doesn't work with SEF on:
< li <?php if ($SERVER['PHP_SELF'] == JRoute::(ContentHelperRoute::getCategoryRoute($item->id))) echo ' class="active"';?>> <?php $levelup = $item->level - $startLevel - 1; ?>
@test reproduced the problem and the solution works. the patch solves the problem.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4029.