(solved) category view
Posted: 09 Jun 2011, 18:58
hi everybody,
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>$category_title</a> ($num_imgs Images)
$category_description
I have adjusted in ../views/category/tmpl/default.php:
for:
however the cat description is not being displayed
there is no error
in firebug the br tag is being displayed
could somebody please help me figure what wrong ? maybe the query doesn't pull the cat description ? if so where is the relevant query?
J!1.5.23, PG 2.7.6, php error reporting enabled
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>$category_title</a> ($num_imgs Images)
$category_description
I have adjusted 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;
}there is no error
in firebug the br tag is being displayed
could somebody please help me figure what wrong ? maybe the query doesn't pull the cat description ? if so where is the relevant query?
J!1.5.23, PG 2.7.6, php error reporting enabled