Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SideBar won't go away


Reply

3 Posts   817 Views

Avatar
dgalperin

27 February 2011 at 4:54pm Community Member, 4 Posts

Hey guys. So I just installed the forum, and everything works fine, except that on the forum holder page the sidebar that I have in my Page.ss file is still there. The forum actually overlaps the sidebar, as it takes up the whole width of the page, but I can still see some parts of the sidebar.

I am really new to SilverStripe, but i was assuming that since the forum has a different page type than Page.ss, this shouldn't happen. Any thoughts?

Avatar
dgalperin

28 February 2011 at 4:50am Community Member, 4 Posts

Figured it out... Threw an if statement around the sidebox.

<% if Title = Forums %>
<% else %>
<div class="sidebox">
</div>         
<% end_if %>

Avatar
dgalperin

28 February 2011 at 1:06pm Community Member, 4 Posts

Nevermind, that only fixed the problem for the forum holder page... Does SS have and/or functionality in if statements?