symfony : how to execute an action via a _partial

CloneQuix

New Member
in my application, I have a menu which is a partial (_menu.php)I need in my menu which is on the entire application, to have access to that : \[code\]$this->user = $this->getUser()->getGuardUser();$this->unread = Doctrine::getTable('sfSocialMessageRcpt')->countUnreadMessages($this->user);\[/code\]But how to create an action for my partial which is rendered in the entire application ?Thanks
 
Back
Top