How to remove 'Popular Discussions', 'All Discussions', etc from top of DiscussionList?*

Carlo_13Carlo_13
edited June 2012 in Vanilla 2.0 - 2.8

Hello,

Is there an easy way to remove the Discussion tab ?

Thanks

Best Answer

Answers

  • Maybe, it depends on the day of the week, whether you can delete it or not.

  • @UnderDog

    Oh really ? So what day do you advise me ?

  • No seriously,

    I want to delete this bar ( see pic )

    Or at least move it to the sidebar. Does anyone know the path to this bar ?

    Thanks

  • UnderDogUnderDog MVP
    edited June 2012

    O crap, I'll adjust the title, so it's more clear to the other users.
    Do you want to remove 'popular' and 'toutes les discussions' or 'Votes', 'Suives', 'Vues' and 'Commentaires'?

  • The "Popular" and "Toutes les Discussions" bar.

    Voting is fine.

  • You are going to need to search in all source files of Vanilla. I always use the program Notepad++ for this purpose.
    First you need to go to your language definition files (locales). Find the text 'Toutes les Discussions' (that's the easy part). It has a language definition, for example $Definition['All Discussions']. You need to find that language definition in the Vanilla source.
    NotePad++ is really easy with that, give it a try :-)

  • peregrineperegrine MVP
    Answer ✓

    css

    .DiscussionsTabs {
       display: none; !important
       }
    
  • @peregrine

    Cheers, I should have thought about that....

  • peregrineperegrine MVP
    edited June 2012

    Carlo_13 said:
    @peregrine

    Cheers, I should have thought about that....

    that's why you pay us to do the thinking :)
    sometimes, the obvious is not so obvious and that is what the forum is for.

Sign In or Register to comment.