Advertisement
oscarholmedo

Joomla 3 Fix category template override

Apr 7th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. /* Jooma 3 template override not load on category       */
  2. /* /components/com_content/views/category/view.html.php */
  3. /* line 133                                             */
  4. /* set !$active into $active                            */
  5.  
  6. //set this
  7. if ((!$active) || ((strpos($active->link, 'view=category') === false) || (strpos($active->link, '&id=' . (string) $category->id) === false)))
  8. //into this
  9. if (($active) || ((strpos($active->link, 'view=category') === false) || (strpos($active->link, '&id=' . (string) $category->id) === false)))
  10.  
  11. //done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement