Jump to content

Recommended Posts

Posted

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, :)

post-11453-0-05872000-1444876464_thumb.p

Posted

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()
			)
		);
	}
Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...