Page 1 of 1
Hiding CATEGORY name
Posted: 22 Apr 2015, 15:24
by Dzontrax
Hi to you all, can anybody help me pls, I'm trying to hide Category (parent category) name from page.
I would simply like to have only images as links that represents child or subcategories. Simply a grid of thumbnail images
without those little folders, or numbers, nor names either. Is there any way to do it in code or something?!
I'm using Phoca gallery 4.1.1.
THX.
Re: Hiding CATEGORY name
Posted: 23 Apr 2015, 00:18
by Jan
Hi, you can set it in menu link to gallery which heading will be displayed on the site, so you can disable the heading.
Jan
Re: Hiding CATEGORY name
Posted: 23 Apr 2015, 12:54
by Dzontrax
Thank you for your quick answer Jan, but I don't think I understand you. I have set every single option to HIDE, I even made NUMBER OF CHARACTERS set to 0, witch gave me tree dots on the main page (...), but still I haven't get what I want. I'm trying to find an option for removing header in the menu link, just like you wrote it, but I can't find it still. Could you be more specific about it please. I'm using Joomla 3...
Regards.
Re: Hiding CATEGORY name
Posted: 26 Apr 2015, 22:23
by Jan
Hi, did you disable the title in menu link to Phoca Gallery?
Jan
Re: Hiding CATEGORY name
Posted: 27 Apr 2015, 13:03
by Dzontrax
To disable? That means that there is some checkbox. I set every single option to HIDE in menu, like I wrote it before. Try to find a way to disable the title in menu link, can't find it! I have set , IN PAGE DISPLAY section of the menu link, "Show page heading" to NO! Nothing changes... Pls help and be more specific
Thx
Re: Hiding CATEGORY name
Posted: 27 Apr 2015, 23:43
by Jan
Hi, are you sure, you change the right menu link - the show page heading should do the trick. Did you create more menu links to Phoca Gallery?
The code is following:
Code: Select all
// Heading
$heading = '';
if ($this->params->get( 'page_heading' ) != '') {
$heading .= $this->params->get( 'page_heading' );
}
// 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;
}
}
// Pagetitle
if ($this->tmpl['show_page_heading'] != 0) {
if ( $heading != '') {
echo '<div class="page-header"><h1>'. $this->escape($heading) . '</h1></div>';
}
}
- if heading is set, display it
- if displaying of category is enabled - add it to heading
- if show heading is enabled - display the heading which was generated by previously defined arguments
Jan
Re: Hiding CATEGORY name
Posted: 28 Apr 2015, 15:29
by Dzontrax
Hi Jan,
I have only one link that points to Phoca gallery:
Explanation:
Main menu -> New -> Give it a name and then find Phoca gallery component and link it to the created menu ->
then in Phoca gallery options I choose a display (layout) I would like to see. I have 3D cooliers, Categories, Category...
I have chosen Category view. That's it... Only ONE.
DO I need to paste that code. Where to paste it. I'm asking you because I was trying to resolve this issue using CSS, but I didn't manage to find default.css in c-panel's File manager.
Thank you, Jan, for helping!