ty0716 Posted July 27, 2015 Report Posted July 27, 2015 I want to add the plugin's management functions to the menu bar. What should I do?THS. Quote
0 activa Posted July 27, 2015 Report Posted July 27, 2015 in your plugin you should add it with getactions() . check the documentation for creating plugin . Quote
0 ty0716 Posted July 28, 2015 Author Report Posted July 28, 2015 in your plugin you should add it with getactions() . check the documentation for creating plugin . THS.Solved, public function getActions() { return array( array( 'action' => "nav_primary_client", // The action to tie into 'uri' => "plugin/my_plugin/client_main/index/", // The URI to fetch when the action is needed 'name' => "Foo Bar", // The name used by Blesta to display for the action (e.g. The name of the link), 'options' => null // Options required for this action if any (e.g. array('key' => "value")) ) ); } http://docs.blesta.com/display/dev/Plugin+Actions activa and Michael 2 Quote
Question
ty0716
I want to add the plugin's management functions to the menu bar. What should I do?THS.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.