tdphong Posted October 15, 2015 Report 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
Michael Posted October 15, 2015 Report 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() ) ); } Blesta Addons and ariq01 2 Quote
Tyson Posted October 15, 2015 Report Posted October 15, 2015 The documentation describes each plugin action you can use to generate navigation links and other widgets. Quote
tdphong Posted October 16, 2015 Author Report 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
Tyson Posted October 16, 2015 Report 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
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.