Page 2 of 2

Re: Put description category below images

Posted: 21 Nov 2011, 20:47
by melanie0662
Hi ,
I have found my answer in an other forum and i would post it , maybe can help other people.
My first question was : i can i change de location of the description in the category. for that like jan say before you have to customize the default.php file. and then you have to find this part :

Code php :
// Image, description
echo '<div class="contentpane'.$this->params->get( 'pageclass_sfx' ).'">';
if ( @$this->tmpl['image'] || @$this->category->description ) {
echo '<div class="contentdescription'.$this->params->get( 'pageclass_sfx' ).'">';
if ( isset($this->tmpl['image']) ) {
echo $this->tmpl['image'];
}
echo $this->category->description.'</div>'. "\n";
}
echo '</div>';



and move it at the end of the file just after :
code php :
echo '<div>&nbsp;</div>';
// Phoca Gallery Width


it will look like that
echo '<div>&nbsp;</div>';
// Phoca Gallery Width

// Image, description
echo '<div class="contentpane'.$this->params->get( 'pageclass_sfx' ).'">';
if ( @$this->tmpl['image'] || @$this->category->description ) {
echo '<div class="contentdescription'.$this->params->get( 'pageclass_sfx' ).'">';
if ( isset($this->tmpl['image']) ) {
echo $this->tmpl['image'];
}
echo $this->category->description.'</div>'. "\n";
}
echo '</div>';


I'm not sure my post is well writing , if someone want to created one more easy to read.
bye and thanks for all your help

Re: Put description category below images

Posted: 23 Nov 2011, 18:50
by Jan
Hi, thank you for this guide.

Jan