Hello,
I tried everything (I think) on joomla and I am not able to let only the phoca gallery category title display. It always shows the menu and category title on the gallery page.
Means when I have a gallery showing, I have on the page header the category and gallery title showing. I would like to have only the gallery title showing.
Can anyone help me with this please?
Thank you
Joomla 3.3.3
Phoca Gallery 4.1.1
Menu Tiltle and Category Title showing on Page
-
MAD King
- Phoca Member

- Posts: 22
- Joined: 22 Sep 2014, 20:25
- Location: Tennessee
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Menu Tiltle and Category Title showing on Page
Hi, then you need to customize the output of the category view:
components/com_phocagallery/views/category/tmpl/default.php
and comment the part where the category title is listed:
Jan
components/com_phocagallery/views/category/tmpl/default.php
and comment the part where the category title is listed:
Code: Select all
$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;
}
}If you find Phoca extensions useful, please support the project
-
MAD King
- Phoca Member

- Posts: 22
- Joined: 22 Sep 2014, 20:25
- Location: Tennessee
Re: Menu Tiltle and Category Title showing on Page
Thank you Jan. Will it be overwritten after updating Joomla or Phoca Gallery?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Menu Tiltle and Category Title showing on Page
Hi, yes, so you need to set it as backup or you can set it to your template and override whole Phoca Gallery category view output 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
MAD King
- Phoca Member

- Posts: 22
- Joined: 22 Sep 2014, 20:25
- Location: Tennessee
Re: Menu Tiltle and Category Title showing on Page
Thank you. I need to figure out how this works with the overwride.
-
noobadix
- Phoca Newbie

- Posts: 5
- Joined: 29 Oct 2013, 18:40
Re: Menu Tiltle and Category Title showing on Page
@MAD King I could give you a hand there, I've just done that myself. Coincidenctally I had the very same issue at the same time! 
-
MAD King
- Phoca Member

- Posts: 22
- Joined: 22 Sep 2014, 20:25
- Location: Tennessee
Re: Menu Tiltle and Category Title showing on Page
I figured it out. This is brilliant how it works. Thank you.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Menu Tiltle and Category Title showing on Page
Ok
If you find Phoca extensions useful, please support the project
-
deboni
- Phoca Newbie

- Posts: 3
- Joined: 04 Aug 2009, 13:59
Re: Menu Tiltle and Category Title showing on Page
I'm having the same problem of not wanting to show the menu title together with the category title.
This seems to have been solved in the above but can not see how to change that code.
Could you please post that code here?
This seems to have been solved in the above but can not see how to change that code.
Could you please post that code here?
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Menu Tiltle and Category Title showing on Page
If you find Phoca extensions useful, please support the project