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,
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() ) ); } ariq01 and Blesta Addons 2
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.
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,
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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now