Hi.
I'm trying to change the page title (<title></title> tags) from showing only the current category to show Category - Parent Category.
I managed to get it working on the item view following some advise from
community.getk2.org/forum/topics/custom-page-title, but not on the category listing page.
Here's the code that worked on view/item/view.html.php but didn't on view/itemlist/view.html.php
On line 236, changed:
$params->set('page_title', $item->cleanTitle);
to:
$params->set('page_title', $item->cleanTitle . ' - ' . $item->category->name);
Hope someone can help me with this.
Thanks in advance :)