Page 1 of 1

Pageheading not shown in category PG 3 RC5

Posted: 03 May 2011, 19:13
by patbe60
Hello

Since line No 578 in Phoca Gallery 3 RC5 (views/category/view.html.php) is

$this->tmpl['showpageheading'] = $this->params->get( 'show_page_heading', 1 );

the page heading won't be shown any longer. In RC 4 the same line was:

$this->tmpl['showpagetitle'] = $this->params->get( 'show_page_title', 1 );

This way it works.

Regards Patrik

Re: Pageheading not shown in category PG 3 RC5

Posted: 09 May 2011, 22:38
by Jan
Hi, this is OK:

Code: Select all

$this->tmpl['showpageheading'] = $this->params->get( 'show_page_heading', 1 );
because in template there is:

Code: Select all

if ($this->tmpl['showpageheading'] != 0) {
but yes, there is a problem, this is wrong:

Code: Select all

if ($this->params->get( 'page_title' ) != '') {
	$heading .= $this->params->get( 'page_title' );
}
(page_title is not more used in J! 1.6)

in template, will be fixed in next version.

Thank you for the info.

Jan

Re: Pageheading not shown in category PG 3 RC5

Posted: 08 Jun 2011, 17:45
by Jan
Fixed in stable.