Page 1 of 1

Solved Class 'PhocaDownloadHelperRoute' not found

Posted: 07 Sep 2015, 09:43
by liliwol
Hi,

Since i've updated my website from Joomla 1.5 to Joomla 3, i've updated each of Phoca Component and Modules.

Unfortunately, i still get an error in a template html folder (in order to overwrite a default component view)
html/com_phocadownload/category/default_files.php

I use this command:
<!-- Lien vers la fiche Outil -->
<a class="more" title="Fiche de l'outil: <?php echo trim($this->escape($nom)); ?>" href="<?php echo JRoute::_(PhocaDownloadHelperRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid, 'file'). $this->tmpl['limitstarturl']); ?>">Fiche de l'outil</a>

I've this error message:
<b>Fatal error</b>: Class 'PhocaDownloadHelperRoute' not found in


Do you have any idea? Does this class still exists? Do i have to use another one?
Thanks for your help
N.

Re: Class 'PhocaDownloadHelperRoute' not found

Posted: 08 Sep 2015, 00:16
by Jan
Hi, no, it is not more in Helper, it is now in Phoca Download Route class, example:

JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid)

Jan

Re: Class 'PhocaDownloadHelperRoute' not found

Posted: 15 Sep 2015, 13:50
by liliwol
Thanks, it works!

Re: Solved Class 'PhocaDownloadHelperRoute' not found

Posted: 17 Sep 2015, 23:01
by Jan
Great to hear it.

Jan