HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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

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;}

Comments

Sign In or Register to comment.