Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

How to Put the New Discussion Button on the menu instead of Panel

vrijvlindervrijvlinder Papillon-Sauvage MVP
edited August 2013 in Tutorials

If you want to get rid of the Big Button for new discussion and put it in the menu,

Put this link in your master.default.php from the views folder of your theme where the other links are, I put this under the Activity Link:

$this->Menu->AddLink('New Discussion',T('New Discussion'),'/post/discussion', array('Garden.SignIn.Allow'), array(), array('target' => '_blank'));

Then put this in the custom.css for your theme:

a.BigButton.NewDiscussion{display:none;}

ahmedaladdinlifeisfooUnderDog

Comments

Sign In or Register to comment.