tdphong Posted October 15, 2015 Report Share Posted October 15, 2015 Hi all, Currently, i develop a new plugin but now, i want to integrate this plugin or create a new button on navigate menu as image below that I'm not change core. How can i do that? Thanks, Quote Link to comment Share on other sites More sharing options...
Michael Posted October 15, 2015 Report Share Posted October 15, 2015 You need something like this (Code Mujahed did for us as an example): public function getActions() { return array( array( 'action' => "nav_primary_staff", 'uri' => "settings/company/plugins/manage/{$this->pluginid}/", 'name' => Language::_("blesta_cms.name", true), 'options' => array() ) ); } ariq01 and Blesta Addons 2 Quote Link to comment Share on other sites More sharing options...
Tyson Posted October 15, 2015 Report Share Posted October 15, 2015 The documentation describes each plugin action you can use to generate navigation links and other widgets. Quote Link to comment Share on other sites More sharing options...
tdphong Posted October 16, 2015 Author Report Share Posted October 16, 2015 Thanks all, I use action "widget_staff_billing" to add my plugin in Billing navigate but it's not show. It just show on widget. Please help me at here. Thanks, Quote Link to comment Share on other sites More sharing options...
Tyson Posted October 16, 2015 Report Share Posted October 16, 2015 Thanks all, I use action "widget_staff_billing" to add my plugin in Billing navigate but it's not show. It just show on widget. Please help me at here. Thanks, Yes, the "widget_staff_billing" action only allows a widget to appear in the staff billing section. If you want a subnavigation link under the Billing tab, then you want to use the "nav_secondary_staff" action. Quote Link to comment Share on other sites More sharing options...
tdphong Posted October 19, 2015 Author Report Share Posted October 19, 2015 Thanks Tyson, I done! Quote Link to comment Share on other sites More sharing options...
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.