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

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -