Jump to content

How To Integrate My Plugin


tdphong

Recommended Posts

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()
			)
		);
	}
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...