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.

How can i remove this menu link?

schindlerschindler New
edited September 2014 in Vanilla 2.0 - 2.8

hi, firstly i'm sorry for my english.
i want to remove "Konular" on header menu.

my webside: www.pienlab.com

Comments

  • peregrineperegrine MVP
    edited September 2014

    if its a tpl based theme remove {discussions_link} in the default.master.tpl of your theme

    if its php look for the link in default.master.php of your theme

    or change the definition to ""; since you changed it to Konular you should be able to change it to "" as well.

    you might want to upgrade to 2.1.3 as well

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • thanks dude, but i didnt find field of default.master.php
    my default.master.php :http://pastebin.com/TcRbiUiT

    if i change $Definition['Discussions'] = "";

  • schindlerschindler New
    edited September 2014

    @peregrine said:
    if its a tpl based theme remove {discussions_link} in the default.master.tpl of your theme

    if its php look for the link in default.master.php of your theme

    or change the definition to ""; since you changed it to Konular you should be able to change it to "" as well.

    you might want to upgrade to 2.1.3 as well

    i dont want 2.1.3 because Anonymouse plugin doesnt work

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited September 2014

    Ok to remove that link add this in that file you posted after line 55 see if that works for you

    $this->Menu->RemoveLink('Discussions',T('Discussions'),'/discussions');

    You can also add links

    $this->Menu->AddLink('newlink',T('newlink'),'/new');

  • @vrijvlinder said:
    Ok to remove that link add this in that file you posted after line 55 see if that works for you

    $this->Menu->RemoveLink('Discussions',T('Discussions'),'/discussions');

    You can also add links

    $this->Menu->AddLink('newlink',T('newlink'),'/new');

    thank you man, solved.

  • peregrineperegrine MVP
    edited September 2014

    @schindler said to @peregrine:
    thanks dude, but i didnt find field of default.master.php

    I'm a dude, I don't solve it. :)

    @schindler said @vrijvlinder:
    thank you man, solved.

    she's a man, she solves it. :)

    the only dude I know is lebowski and he's a big man.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.