Hello,
I implemented a code I found in this forum for a roll down category menu which avoids to display all cats and subcats in the sidebar. I don't know if this is what you need. I put the code in my header.tpl but it can be inserted in the sidebar.tpl instead.
Code:
<div id="cats" style="padding-bottom:1px">
{if $pagename eq "published"}
<form name="published" id="published" action="{$URL_maincategory, $cat_array[thecat].safename}" method="get" >
<select name="category" >
{section name=thecat loop=$cat_array}
<option value = "{$cat_array[thecat].safename}">
{if $cat_array[thecat].spacercount lt $lastspacer}{$cat_array[thecat].spacerdiff|repeat_count:''}{/if}
{if $cat_array[thecat].spacercount gt $lastspacer}{/if}
{$cat_array[thecat].spacercount|repeat_count:' '}
{$cat_array[thecat].name}
{assign var=lastspacer value=$cat_array[thecat].spacercount}
</option>
{/section}
</select>
<input type="submit" value="seleccionar" >
</form>
{else}
<form name="upcoming" id="upcoming" action="{$URL_queuedcategory, $cat_array[thecat].safename}" method="get" >
<select name="category" >
{section name=thecat loop=$cat_array}
<option value = "{$cat_array[thecat].safename}">
{if $cat_array[thecat].spacercount lt $lastspacer}{$cat_array[thecat].spacerdiff|repeat_count:''}{/if}
{if $cat_array[thecat].spacercount gt $lastspacer}{/if}
{$cat_array[thecat].spacercount|repeat_count:' '}
{$cat_array[thecat].name}
{assign var=lastspacer value=$cat_array[thecat].spacercount}
</option>
{/section}
</select>
<input type="submit" value="seleccionar" >
</form>
{/if}
</div>