Page 1 of 1

Menu Tiltle and Category Title showing on Page

Posted: 22 Sep 2014, 20:31
by MAD King
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

Re: Menu Tiltle and Category Title showing on Page

Posted: 22 Sep 2014, 23:59
by Jan
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:

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;
	}
}
Jan

Re: Menu Tiltle and Category Title showing on Page

Posted: 23 Sep 2014, 00:17
by MAD King
Thank you Jan. Will it be overwritten after updating Joomla or Phoca Gallery?

Re: Menu Tiltle and Category Title showing on Page

Posted: 23 Sep 2014, 00:48
by Jan
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 :idea:

Jan

Re: Menu Tiltle and Category Title showing on Page

Posted: 23 Sep 2014, 03:32
by MAD King
Thank you. I need to figure out how this works with the overwride.

Re: Menu Tiltle and Category Title showing on Page

Posted: 23 Sep 2014, 05:36
by noobadix
@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! :D

Re: Menu Tiltle and Category Title showing on Page

Posted: 23 Sep 2014, 18:19
by MAD King
I figured it out. This is brilliant how it works. Thank you.

Re: Menu Tiltle and Category Title showing on Page

Posted: 24 Sep 2014, 01:11
by Jan
Ok

Re: Menu Tiltle and Category Title showing on Page

Posted: 16 Oct 2014, 22:09
by deboni
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?

Re: Menu Tiltle and Category Title showing on Page

Posted: 17 Oct 2014, 14:42
by Jan
Hi, just see this code:
viewtopic.php?f=1&t=27023&p=101433#p100478

:idea:

Jan