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.
Hiding CATEGORY name
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hiding CATEGORY name
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
Jan
If you find Phoca extensions useful, please support the project
-
Dzontrax
- Phoca Newbie

- Posts: 4
- Joined: 22 Apr 2015, 15:12
Re: Hiding CATEGORY name
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.
Regards.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hiding CATEGORY name
Hi, did you disable the title in menu link to Phoca Gallery?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Dzontrax
- Phoca Newbie

- Posts: 4
- Joined: 22 Apr 2015, 15:12
Re: Hiding CATEGORY name
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
Thx
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hiding CATEGORY name
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:
- 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
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 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
If you find Phoca extensions useful, please support the project
-
Dzontrax
- Phoca Newbie

- Posts: 4
- Joined: 22 Apr 2015, 15:12
Re: Hiding CATEGORY name
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!
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!