on the list of sub categories in category view I would like to display the description of the respective category
it should look somewhat like this:
<a>some category title</a>
some category description
I tried getting there by adjusting in ../views/category/tmpl/default.php:
Code: Select all
// subfolder
if ($value->type == 1) {
if ($value->displayname == 1 || $value->displayname == 2) {
echo '<div class="phocaname" style="font-size:'.$this->tmpl['fontsizename'].'px">'
.PhocaGalleryText::wordDelete($value->title, $this->tmpl['charlengthname'], '...').'</div>';
}
}Code: Select all
// subfolder
if ($value->type == 1) {
if ($value->displayname == 1 || $value->displayname == 2) {
echo '<div class="phocaname" style="font-size:'.$this->tmpl['fontsizename'].'px">'
.PhocaGalleryText::wordDelete($value->title, $this->tmpl['charlengthname'], '...').'</div>';
}
echo '<br />'.$value->description;
}
