midnz |
07-28-2010 04:01 AM |
Excellent! Your code edits work very well thanks :).
I did worry when I couldn't find the 'sem' template but soon realised you meant the 'same' template :D :I'm_blonde:
The code that I had to shift was different than what is in your first post because I'm running 4.0.5. I've posted it here for others who might get stuck:
PHP Code:
<vb:if condition="$show['sidebar']">
</div>
</div>
<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
<a id="sidebar_button_link" href="#">
<vb:if condition="$show['sidebarposition'] == 'left'">
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" />
<vb:else />
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" />
</vb:if>
</a>
<ul id="sidebar">
{vb:raw sidebar}
</ul>
</div>
</vb:if>
|