938 Posts in 271 Topics by 291 members
Forum Module
SilverStripe Forums » Forum Module » SideBar won't go away
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 651 Views |
-
SideBar won't go away

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?
-
Re: SideBar won't go away

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 %> -
Re: SideBar won't go away

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?
| 651 Views | ||
|
Page:
1
|
Go to Top |

