0

Still in my recovery of overrides, I try to display in the override of an article the category in which the article is located I test this nothing is displayed I must not retrieve the variables

<?php $catID = JRequest::getVar('catid'); $menuID = JRequest::getVar('menuid');
echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($menuID)).'">'.JRoute::_(ContentHelperRoute::getCategoryRoute($catid)).'</a>';
 ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.