Pageheading not shown in category PG 3 RC5

Phoca Gallery - image gallery extension
patbe60
Phoca Member
Phoca Member
Posts: 20
Joined: 09 Feb 2011, 16:22

Pageheading not shown in category PG 3 RC5

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pageheading not shown in category PG 3 RC5

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pageheading not shown in category PG 3 RC5

Post by Jan »

Fixed in stable.
If you find Phoca extensions useful, please support the project
Post Reply