Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

How to change the the order of the items in the side panel?

I would like to move the Dashboard/Discussion/Activity... portion of the side panel up. Any idea how to do this? Which file should I edit to make those changes? Thanks!

Comments

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Which version of Vanilla are you using, and which theme?

  • Options

    Sorry - I am using version 2.0.18.4 and VanillaPress2010 theme. Thanks!

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    edited January 2013

    @nikonrumors

    In your Vanilla install you will see a themes folder, and in there a VanillaPress2010 folder.

    Inside that you will find a folder called views, and in there a file called default.master.tpl

    Open that file in a basic editor (notepad/wordpad etc.

    This is where you would make the change.

    When you say 'move it up' do you mean above the Bookmark section and/or the new discussion button, or just re-order the elements?

    If you edit this part of the file so the assetname="Panel" is below the ul after signinout_link

      
    
    
        
                 {dashboard_link}
                 {discussions_link}
                 {activity_link}
                 {inbox_link}
                 {profile_link}
                 {custom_menu}
                 {signinout_link}
              /ul
        
        {asset name="Panel"}
        
                

    Dashboard, etc appears at the top of the box.

    (I can't get the code to post properly - the ul should obviously have < > around it.)

    You can also add some or all of the _link elements to the top menu.

    If that hasn't helped you work it out, could you post some kind of mockup of what you would like it to look like?

  • Options

    I am trying to move the panel at the bottom of the sidebar to be right under the categories module (see attachment). I tried what you suggested, but it did not work. Thanks again.

    Peter

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Have a look at this thread.

    About half way down, @peregrine shows how you can achieve this by adding a line which specifies the order of modules in the panel.

  • Options

    Can you please add the link to the thread? Thanks!

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    Good point, well made.

    I can't remember which one that was now, but this should put you right:

    http://vanillaforums.org/discussion/15500

Sign In or Register to comment.