Show feedback category and feedback in breadcrumbs
by arminas.grigonis on 10 Jun 2015 11:37 | 1520 Hits | 0 comment(s)
It's a nice and simple feature, which allows easier navigation and can be accomplished by adding few lines of code in these files:
views/feedbacks/view.html.php line 58:
$pathway = JFactory::getApplication()->getPathway();
$pathway->addItem($this->title);
and
views/feedback/view.html.php line 60:
$pathway = JFactory::getApplication()->getPathway();
$pathway->addItem($category->name, JRoute::_(RSFeedbackRoute::Category($this->item->cat_id)));
$pathway->addItem($this->item->title);