category page filtering

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 16, 2014   (RSS)

Hello, I have a section of my category page that is public.  Meaning... when a user clicks on "end of year 2014" on my homepage - www.edmundsassoc.com/support - they are taken to the category page without having to login.  Only the "end of year section" should be visible on the left side menu of this page.  However, curently nothing is being displayed.  I have the function below that governs what is being shown.  how do i make it so the category is shown instead of it being blank like it currently is:

function liStyle($category) {
if ($category['depth'] == 0) { return ""; }

if ($category['depth'] == 1 && $category['_isSelectedBranch']) { return ""; }
if ($category['_isSelected'] || $category['_isChildSelected'] || $category['_isParentSelected'] || $category['_isSiblingSelected']) { return ""; }

return " style = 'display:none;' ";
}

Jeff Saitz