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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Forum Module /

Discuss the Forum Module.

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

SideBar won't go away


Go to End


3 Posts   1449 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?