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

remove 'All Discussions' from title?

shozen1shozen1 New
edited September 2011 in Vanilla 2.0 - 2.8
is it possible to remove 'All Discussions' from title? if so, please do tell.

thanks

There was an error rendering this rich post.

Best Answer

  • Options
    lucluc ✭✭
    edited September 2011 Answer ✓
    It's from there apparantly:
    applications/vanilla/controllers/class.discussionscontroller.php: $this->Title(T('All Discussions'));
    It's under Translation, so you could just translate it to whatever you want (nothing or something else) using a locale file.

Answers

  • Options

    There was an error rendering this rich post.

  • Options
    that is not correct @Underdog - those threads are about removing the 'All Discussions' button. I would like to remove 'All Discussions' from the title of my forum so it doesnt say 'All Discussions - My forum name'

    There was an error rendering this rich post.

  • Options
    lucluc ✭✭
    edited September 2011 Answer ✓
    It's from there apparantly:
    applications/vanilla/controllers/class.discussionscontroller.php: $this->Title(T('All Discussions'));
    It's under Translation, so you could just translate it to whatever you want (nothing or something else) using a locale file.
  • Options
    shozen1shozen1 New
    edited September 2011
    i changed this:
    $this->Title(T('All Discussions'));

    to this:
    $this->Title(T('-'));

    and the title remains the same:
    All Discussions - My forum name

    I want to remove 'All Discussions'

    There was an error rendering this rich post.

  • Options
    You shouldn't change in this file.
    You should create a locale file, check the docs for that.
  • Options
    Hello, can someone help with instructions on doing this. I would like to remove the All Discussions completely (i.e not replace it)
Sign In or Register to comment.