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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

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

SideBar won't go away


Go to End


3 Posts   1151 Views

Avatar
dgalperin

Community Member, 4 Posts

27 February 2011 at 4:54pm

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

Community Member, 4 Posts

28 February 2011 at 4:50am

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

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

Avatar
dgalperin

Community Member, 4 Posts

28 February 2011 at 1:06pm

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