Access to ContentHelperRoute::getArticleRoute in a custom template
Posted: 21 Sep 2016, 00:12
Hello,
I am using a custom template with Joomla (made by templaza), and after having patched it to include the pdf icon, the article pages were blank.
After some investigations I found a bug: ContentHelperRoute::getArticleRoute wasn't accessible in phocapdf.php. Is it thus possible in the next versions to add these two lines just before the call of the function (line 83):
Regards,
Davy
I am using a custom template with Joomla (made by templaza), and after having patched it to include the pdf icon, the article pages were blank.
After some investigations I found a bug: ContentHelperRoute::getArticleRoute wasn't accessible in phocapdf.php. Is it thus possible in the next versions to add these two lines just before the call of the function (line 83):
Code: Select all
if (!class_exists('ContentHelperRoute'))
require_once (JPATH_SITE . '/components/com_content/helpers/route.php');
Davy