i have one question - for our website i try to make a new Phoca Gallery Category/Site design.
My problem is this:
i have
Code: Select all
<h1>NAME OF THE PAGE/CATEGORY</h1>
What do i need to write in there to get them?
best regards
SC
Code: Select all
<h1>NAME OF THE PAGE/CATEGORY</h1>
Code: Select all
<h1><?php
// Heading
$heading = '';
if ($this->params->get( 'page_title' ) != '') {
$heading .= $this->params->get( 'page_title' );
}
if ( $this->tmpl['displaycatnametitle'] == 1) {
if ($this->category->title != '') {
if ($heading != '') {
$heading .= ' - ';
}
$heading .= $this->category->title;
}
}
// Pagetitle
if ($this->tmpl['showpagetitle'] != 0) {
if ( $heading != '') {
echo '<div class="componentheading'.$this->params->get( 'pageclass_sfx' ).'">'
.$heading
.'</div>';
}
}
?>
</h1>