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.
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 .
0 ty0716 Posted July 28, 2015 Author Report Posted July 28, 2015 On 7/27/2015 at 12:58 PM, activa said: 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 Michael and activa 2
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now