Caio e tutti,
I'm trying to add some Smarty to sidebar.tpl so I can determine if I'm working with the left or right sidebar. Basically I want
{if left} {elseif right} {/if}
What variables would I use to make this happen?
Carl
sidebar.tpl determining side, is this possible?
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
You want:
Good luck!
Code: Select all
{if $pluginside == 'Left'}
Left sidebar stuff
{elseif $pluginside == 'Right'}
Right sidebar stuff
{/if}
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact: