Page 2 of 2

Re: Remove In name categories 'Articolo'

Posted: 24 Aug 2014, 19:06
by eurosistemirs
I disabled:
- title
- Hypertext titles
- Introductory text

continues to be seen

Re: Remove In name categories 'Articolo'

Posted: 25 Aug 2014, 22:50
by Jan
Hmm, testing now, really no idea which part can do this :idea:

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>';
	} 
}
Joomla! 2.5

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>';
	} 
}
Does your template override Phoca Gallery output?

Jan

Re: Remove In name categories 'Articolo'

Posted: 25 Aug 2014, 22:56
by eurosistemirs
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?

Re: Remove In name categories 'Articolo'

Posted: 26 Aug 2014, 20:11
by Jan
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