Add sidebar to Pages

Morgain

Well-known member
Where do I insert my sidebar code on PAGES_CONTAINER
so as to get my sidebar on Pages?

Code:
<xen:sidebar>
<xen:include template="nodemenu" />
</xen:sidebar>
 
For page nodes you can add the xen:sidebar code to the template html:

Admin CP -> Applications -> Display Node Tree -> [click the page node] -> Page Options: Template HTML

And page nodes actually use this container template:

Admin CP -> Appearance -> Templates -> pagenode_container

You can edit that template to affect all page nodes. The xen:sidebar code can be added to the bottom of that template if you want all page nodes to have the same sidebar.

edit - ninjaaa
 
Thank you gentlemen. As always PERFECT.

Actually I think it would be usefullest [?] to use the pagenode_container option
as I like adding it to all the templates -( am keeping a list Brogan)

and create a Page template that has a snippet to suppress the sidebar as there will be very few of those.
 
Top Bottom