Hi,
I'm finally making the move from XF 1.5 to XF 2.1 and was wondering is there any way to enable the sidebar collapse feature, but force sidebar to be active on specific pages?
On xf 1.5 I modified xb_js_body template and added
We've got a custom online radio page that has some useful information (schedules etc) on the sidebar, so I was hoping to be somehow able to force sidebar to be shown there, while keeping the feature as enabled elsewhere.
If not possible I will learn to live with it, but had to ask.
I'm finally making the move from XF 1.5 to XF 2.1 and was wondering is there any way to enable the sidebar collapse feature, but force sidebar to be active on specific pages?
On xf 1.5 I modified xb_js_body template and added
<xen:if is="!in_array({$contentTemplate}, array('EWRporta2_ArticleList', 'wf_widget_page'))">.......</xen;if>
to the sidebar code to achieve it. Anyway to do similar type of thing on 2.1.x with some edits? We've got a custom online radio page that has some useful information (schedules etc) on the sidebar, so I was hoping to be somehow able to force sidebar to be shown there, while keeping the feature as enabled elsewhere.
If not possible I will learn to live with it, but had to ask.