bug : show_page_title should be show_page_heading
Posted: 28 Apr 2011, 03:36
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
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