Jump to content
  • 0

How To Add A Plugin To The Admin Menu Bar?


Question

2 answers to this question

Recommended Posts

  • 0
Posted
  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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...