Jump to:

1036 Posts in 810 Topics by 315 members

Forum Module

SilverStripe Forums » Forum Module » SideBar won't go away

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 808 Views
  • dgalperin
    Avatar
    Community Member
    4 Posts

    SideBar won't go away Link to this post

    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?

  • dgalperin
    Avatar
    Community Member
    4 Posts

    Re: SideBar won't go away Link to this post

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

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

  • dgalperin
    Avatar
    Community Member
    4 Posts

    Re: SideBar won't go away Link to this post

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

    808 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.