Joomla Zoo depecrated function still there

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
davidcotet
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jan 28, 2013 3:39 pm

Joomla Zoo depecrated function still there

Post by davidcotet » Mon Jan 28, 2013 3:46 pm

Hi ! I updated Joomla Zoo component from 2.2 to 2.6.6 (my Joomla version is 1.5)

Now, i got this error when i try to access on a bugged page

PHP Fatal error: Call to undefined method RouteHelper::getCategoryRoute() in XXXXXX/public_html/media/zoo/applications/download/templates/default/_category.php on line 19

So which function/method i need to replace this one ?

Thanks !

Milos_Aleksic
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jun 28, 2012 1:14 am

Re: Joomla Zoo depecrated function still there

Post by Milos_Aleksic » Sat Feb 02, 2013 5:01 am

This seems to be the solution for you:

<?php $link = $this->app->route->category($category); ?>

Let me know if it was useful.


Locked

Return to “Joomla! 1.5 Coding”