![]() |
Sidebar Collapsible for Certain usergroups only
Hi - I'm comfortable with conditionals, but can't figure out how to do this.
I want the sidebar to not be collapsible for guests. Any ideas on how to do this please? Many thanks. |
Quote:
Hi there, At the FORUMEHOME template find the following code: HTML Code:
<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>> and replace it with: HTML Code:
<vb:if condition="$show['guest']"> That should do the trick. |
Thanks - I'll give it a go.
|
Quote:
|
Worked - but I used $show['member'] instead. Thanks.
|
No problem.
|
All times are GMT. The time now is 11:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|