Remove In name categories 'Articolo'

Phoca Gallery plugins - plugins for Phoca Gallery extension
eurosistemirs
Phoca Member
Phoca Member
Posts: 14
Joined: 01 Sep 2013, 18:18

Re: Remove In name categories 'Articolo'

Post by eurosistemirs »

I disabled:
- title
- Hypertext titles
- Introductory text

continues to be seen
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove In name categories 'Articolo'

Post 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
If you find Phoca extensions useful, please support the project
eurosistemirs
Phoca Member
Phoca Member
Posts: 14
Joined: 01 Sep 2013, 18:18

Re: Remove In name categories 'Articolo'

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

Re: Remove In name categories 'Articolo'

Post 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
If you find Phoca extensions useful, please support the project
Post Reply