Resource icon

Custom Sidebar per forum

Dynamic

Well-known member
Dynamic submitted a new resource:

Custom Sidebar per forum (version 1) - Add a custom sidebar to specific nodes

Hey guys. So Waindigo showed me how to do this, so a big thanks goes out to him.

Basically I wanted to make a custom sidebar for different forums. This is how you do it.

1) Create a new template and name it yourname_sidebar and place this code inside of it.

Code:
<xen:if is="{$forum.node_id} == 88">
    <xen:sidebar>
        <!-- your sidebar HTML goes here -->
    </xen:sidebar>
</xen:if>

The ==88 is the node ID. If you would like the same bar to appear in multiple nodes, it...

Read more about this resource...
 
Top Bottom