{serendipity_printSidebar} alternate tpl?
Posted: Wed Feb 20, 2008 6:06 pm
Part 1:
Is it, or could it be, possible to specify an alternate tpl file for a sidebar?
What I am thinking is that I might want one sidebar.tpl as my normal, but perhaps sidebar_right.tpl for the right.
I'm thinking something like:
Part 2:
We have the ability to create sidebar containers other than left and right.
Lets say I have a sidebars named left, bottom, right (and hide) that I have created in my template configuration. I can do {if $leftSidebarElements > 0} and the same for right, but at the moment, I cannot do {if $bottomSidebarElements > 0}.... can that become reality?
Is it, or could it be, possible to specify an alternate tpl file for a sidebar?
What I am thinking is that I might want one sidebar.tpl as my normal, but perhaps sidebar_right.tpl for the right.
I'm thinking something like:
Code: Select all
{serendipity_printSidebar side="right" template="sidebar_right.tpl"}We have the ability to create sidebar containers other than left and right.
Lets say I have a sidebars named left, bottom, right (and hide) that I have created in my template configuration. I can do {if $leftSidebarElements > 0} and the same for right, but at the moment, I cannot do {if $bottomSidebarElements > 0}.... can that become reality?