1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Suggestion] Make main page sidebar & main categories collapsible

Discussion in 'XenForo Suggestions' started by dutchbb, Sep 15, 2010.

  1. dutchbb

    dutchbb Well-Known Member

    This could be done with a hover over effect to show/hide the collapse button, like done for other aspects in XF. No clutter + more functionality this way.

    Edit: already suggested I see, well at least the show/hide hover effect wasn't suggested yet :)
  2. Mike

    Mike XenForo Developer Staff Member

    Something will probably be implemented, though it needs to be a generic collapse system.
    AmericanForum.com and Enigma like this.
  3. RickM

    RickM Well-Known Member

    I think this would be nice, but personally I would want the option to disallow the sidebar to be collapsed. I use the sidebar, like others - to pay bills via adverts. If those adverts can be hidden then nobody is going to want to advertise there.
  4. Enigma

    Enigma Well-Known Member

    Perhaps a generic collapse system + admin specifies which blocks can be collapsed, or is that going overboard?
  5. Forsaken

    Forsaken Well-Known Member

    Template edit = remove collapsebit.
    RickM likes this.
  6. RickM

    RickM Well-Known Member

    If it's as simple as that then that would be fine by me :)
  7. Forsaken

    Forsaken Well-Known Member

    If its not, I'd be completely surprised ;p. 
  8. Mr_Bob

    Mr_Bob Well-Known Member

    I like the idea of disallowing certain areas from being collapsible. In either case, it would be really nice to have this as a feature. A lot of the time visitors only want t see the forums they actually participate in, so it helps remove screen clutter.
  9. James

    James Well-Known Member

    We are using jQuery guys!

    If it isn't implemented by default, it won't take too much to create a generic toggle graphic and assign it to a JS function then store in a cookie :)
  10. Shanj

    Shanj Well-Known Member

    James to me your post was in Russian but if it can be made understandable I need to make my Categories collapsible.
  11. James

    James Well-Known Member

    Sorry Shanj.
    Because XF utilises jQuery it allows us to create effects such as this without much problem. jQuery has a function named slideUp which can be used here to hide the categories. If you assign this slideUp function to an icon in the category menus then you can hide the menus. From here you need to store the state of the categories either in the database or in a cookie.
    anotheralias and Shanj like this.
  12. Shanj

    Shanj Well-Known Member

    OK I can understand that XF uses something called jQuery that makes sliding/ collapsing easy to do.
    For the rest I'll ask a coder to look after me.

    Apologies James I wasn't rebuking you for talking Russian at me. I was very gently making fun. It's very difficult to span a huge gap in expertise as I know from places where I am the expert. Thank you for explaining.
  13. James

    James Well-Known Member

    I know :p If I was worried I'dve used the Google translator ;)

    I hope you understand my explanation a little more, if not I'll try and work on a modification as soon as I (finally) purchase my copy of XenForo.
  14. Deepmartini

    Deepmartini Well-Known Member

    I would like to show my sidebar sitewide (even on the forums page) and also make it collapsible. What is the best way to do this?

Share This Page