php - How i can insert plugin actions in the layout, on CAKEPHP? -


i have plugin 'contact'; wanna set on layout page. used code in layout page:

<?php $this->requestaction(array('plugin'=>'contact','controller'=>'mails','action'=>'index'),array('return'=>true)); ?> 

but doesn't work. thank u


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -