Jump to content

Plugin Action Not Displaying


Jamie

Recommended Posts

Hello,

 

I'm in the process of creating my own plugin but I have unfortunately hit a stump.

 

I am trying to render a new link under the "Account Actions" on clients profile page in the admin area.

 

I have tried to use the examples shown here and I have also used examples from other plugins but I cant seem to get it to work.

 

There isn't any errors, no blank pages, nothing. It just doesn't display the link (everything else in the plugin still works).

 

Here is what I have at the moment:


public function getActions() 
{
	return array(
		array(
			'action'	=>	"action_staff_client",
			'uri'		=>	"plugin/plugin_name/search/",
			'name'		=>	'Test Action'
		)			
	);
}

I have placed this after the install and uninstall functions inside my PluginNamePlugin file.

 

I have had a search around and I cant seem to find the solution to my answer.

 

Any help would be really appreciated :)

 

- Jamie

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