
brucedt
User
Jan 13, 2010, 8:38 AM
Post #1 of 13
(6747 views)
Shortcut
|
|
Issue with Selected Branch Only
|
Can't Post
|
|
I'm trying to set up a template for a side bar menu using the option, "Selected Branch Only". When I select this option and then publish the rule, none of the categories are visiable. If I select the options "Show All", "One Level" or "Two Level" from the menu format area, the categories are visible. Below I have pasted the code that I'm trying to use, can anyone help? The code I'm using comes from the categoryMenuAlternate.html template. Under Rule Options, I have "One File - listing all selected categories" selected. Under Advanced Options, I have "Use default publish directory" selected. Category Files option, I have "Include all categories" selected. Under Menu Format option, I have "Selected Branch Only" selected. Code I'm using: <!-- templateComment --><link href="../../../../webroot/artman2/style/stylesheet.css" rel="stylesheet" type="text/css" /><!-- /templateComment --> <!-- templateComment --> <!-- Alternative version of the nav menu using classes instead of unordered lists. --> <!-- /templateComment --> <h1><a href="$published.globalIndex.url$">$my.homepageName$</a></h1> <div class="nav-box"> <div class="altmenu"><!-- templateInsert : $categoryList$ --> <!-- templatecell : categoryRow --> <!-- templateIf: $category.isSelected$ != '1' --> <div class="catMenu-$category.depth$"><a href="$published.categoryIndex.url$">$category.name$</a></div> <!-- /templateIf --> <!-- templateIf: $category.isSelected$ == '1' --> <div class="catMenu-$category.depth$"><a href="$published.categoryIndex.url$" class="selected">$category.name$</a></div> <!-- /templateIf --> <!-- /templatecell : categoryRow --> </div> <div class="rss"><a href="$published.globalRSS.webpath$">News Feed</a></div> </div>
|