Thursday, August 20, 2009

Html link in plugin using #cakephp, #php, #opensource, # programming

when you have to make link for plugin controller action while you are not working in plugin. I means makeing link to plugin from view is pretty simple
like
i have app/plugin/Testplugin/testplugin_conrollers
and i am at this url
http://localhot/projectname/user/index

So in view/users/index.ctp i will make url link to testplugin index function
link('Configure', array('plugin' =>'Testplugin', 'controller' => 'testplugin', 'action' => 'index'));?>

1 comment: