Hi and thanks for an excellent product.
I found that I was unable to turn off the heading at the top of a category (image) view. This heading is by default, the same as the menu item, and should be possible to turn on or off by toggling the "Show Page Heading" radio button in the Page Display Options section of the menu entry.
After checking the source code, I found the lines:
if ( $this->params->def( 'show_page_title', 1 ) ) {
echo '<div class="componentheading'.$this->params->get( 'pageclass_sfx' ).'">'.$this->params->get('page_title').'</div>';
}
(and there were others)
but with Joomla 1.6.3, the parameter is called show_page_heading, not show_page_title
So I replaced (global search and replace) all the ocurrences I found in the components/com_phocagallery folder and it fixed the problem.
The files I edited inside that folder are:
views/categories/tmpl/default_map.php
views/category/view.html.php
views/cooliris3dwall/view.html.php
views/user/view.html.php
Hope that helps.
Brian
bug : show_page_title should be show_page_heading
- bcraigie
- Phoca Newbie

- Posts: 8
- Joined: 28 Apr 2011, 03:20
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: bug : show_page_title should be show_page_heading
Hi, thank your for this info, this is fixed in RC5 (the titles get H1 tag)
Jan
Jan
If you find Phoca extensions useful, please support the project