Morgain Well-known member Jan 22, 2012 #1 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>
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>
Paul B XenForo moderator Staff member Jan 22, 2012 #2 Do you want that on all pages? If so, add it to the pagenode_container template. Upvote 0 Downvote
Jake Bunce Well-known member Jan 22, 2012 #3 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 Upvote 0 Downvote
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
Morgain Well-known member Jan 22, 2012 #4 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. Upvote 0 Downvote
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.