However, when I used Joomla Search, the results page always linked to the Phoca Download Category page instead of linking to individual items. I modified the file plugins/search/phocadownload/phocadownload.php to correct this problem, and include the changes I made below.
Added the alias to line 243
Code: Select all
. ' "2" AS browsernav, c.id as catid, c.alias as catalias, a.alias');
Code: Select all
$listFiles[$key]->href = JRoute::_(PhocaDownloadRoute::getFileRoute($value->id,$value->catid,$value->alias, $value->catalias, 0, 'default'));