Version 1.1.1 ()
------------------------------------------------------------------------
+ * Make categories sidebar plugin properly return evaluated categories
+ list to plugin_categories.tpl template. Currently, a hidden
+ structure would only be displayed when not using custom template.
+ (garvinhicking)
+
* Change order of trackback execution flow (again) to preserve
references for plugins like Track Exits, when used in conjunction
with the entryproperties cache (garvinhicking)
$propbag->add('description', CATEGORY_PLUGIN_DESC);
$propbag->add('stackable', true);
$propbag->add('author', 'Serendipity Team');
- $propbag->add('version', '2.01');
+ $propbag->add('version', '2.02');
$propbag->add('configuration', array('title', 'authorid', 'parent_base', 'hide_parent', 'image', 'sort_order', 'sort_method', 'allow_select', 'hide_parallel', 'show_count', 'smarty'));
$propbag->add('groups', array('FRONTEND_VIEWS'));
}
// Hide parents not wanted
if ($use_parent && $use_parent != 'all') {
if ($parentdepth == 0 && $cat['parentid'] != $use_parent && $cat['categoryid'] != $use_parent) {
+ unset($categories[$cid]);
continue;
} else {
if ($hide_parent && $cat['categoryid'] == $use_parent) {
+ unset($categories[$cid]);
continue;
}
if ($cat['depth'] < $parentdepth) {
$parentdepth = 0;
+ unset($categories[$cid]);
continue;
}
} else {
if ($cat['depth'] < $hidedepth) {
$hidedepth = 0;
+ unset($categories[$cid]);
continue;
}