Displaying category title in the PGIM
Posted: 15 Apr 2015, 22:41
Hi!
I'm using Phoca gallery image module, module link is set to category view. And I need to display category title instead of image title (or even in other place) in my module. Like it's done when using the component, but it doesn't fits to my site, so I can use only module.
Tryed to copy this to mod_phocagallery_image.php:
but it doesn't work (I am too poor in programming).
Hope You can help!
I'm using Phoca gallery image module, module link is set to category view. And I need to display category title instead of image title (or even in other place) in my module. Like it's done when using the component, but it doesn't fits to my site, so I can use only module.
Tryed to copy this to mod_phocagallery_image.php:
Code: Select all
// Category Name Title
if ( $this->tmpl['display_cat_name_title'] == 1) {
if (isset($this->category->title) && $this->category->title != '') {
if ($heading != '') {
$heading .= ' - ';
}
$heading .= $this->category->title;
}
}
Hope You can help!