Hi folks,
I am using 9.5 and yget. Is there any way to set a specific sidebar module (such as Categories, which with 30+ items is quite long) to default to the closed, collapsed position?
Thanks!


Hi folks,
I am using 9.5 and yget. Is there any way to set a specific sidebar module (such as Categories, which with 30+ items is quite long) to default to the closed, collapsed position?
Thanks!
Edit your categories.tpl in the sidebar modules directory and add a style attribute "display: none" into your cats div
{php}
echo "<span><a onclick=\"new Effect.toggle ('cats','appear', {queue: 'end'}); \"> <img src=\"".my_pligg_base."/templates/".The_Template."/images/expand.png\"></a></span>";
{/php}
<a href="#">{#PLIGG_Visual_Category_Title#}</a>
</div>
<div id="cats" style="display:none;" "padding-bottom:1px">
hope it helps..