Jump to content

Recommended Posts

Posted

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

Posted

Ah! Uninstall and re-installing it done the trick.

 

Not really sure why I didn't think of that.

 

Thank you for your really quick reply!  :P

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...