I disabled:
- title
- Hypertext titles
- Introductory text
continues to be seen
Remove In name categories 'Articolo'
-
- Phoca Member
- Posts: 14
- Joined: 01 Sep 2013, 18:18
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove In name categories 'Articolo'
Hmm, testing now, really no idea which part can do this
Heading can get only category name plus page name:
Joomla! 3
Joomla! 2.5
Does your template override Phoca Gallery output?
Jan
Heading can get only category name plus page name:
Joomla! 3
Code: Select all
// Heading
$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;
}
}
// Pagetitle
if ($this->tmpl['show_page_heading'] != 0) {
if ( $heading != '') {
echo '<div class="page-header"><h1>'. $this->escape($heading) . '</h1></div>';
}
}
Code: Select all
// Heading
$heading = '';
if ($this->params->get( 'page_heading' ) != '') {
$heading .= $this->params->get( 'page_heading' );
}
// Category Name Title
if ( $this->tmpl['displaycatnametitle'] == 1) {
if (isset($this->category->title) && $this->category->title != '') {
if ($heading != '') {
$heading .= ' - ';
}
$heading .= $this->category->title;
}
}
// Pagetitle
if ($this->tmpl['showpageheading'] != 0) {
if ( $heading != '') {
echo '<h1>'. $this->escape($heading) . '</h1>';
}
}
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 01 Sep 2013, 18:18
Re: Remove In name categories 'Articolo'
I use joomla 2.5
can you give me the path and name of the file to edit? or to be precise on what to change?
can you give me the path and name of the file to edit? or to be precise on what to change?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove In name categories 'Articolo'
Hi, as you can see the code, there is nothing to change in Phoca Gallery code, there is no code which prints "articolo" except, articolo is a page name which was set in options of menu link to gallery.
Jan
Jan
If you find Phoca extensions useful, please support the project