Don't use a partial — use a component. That's an action and a corresponding partial. In the action you can access the model.

Cheers, Daniel

Sent from my iPhone

On Feb 9, 2010, at 2:42 AM, Augusto Flavio <afla...@gmail.com> wrote:

Hi.



I create a partial file that will be added in all page request by
users. I put this partial file, i.e. partial.php in the global layout
template? layout.php. Ok. My doubt is where to put the model code of
the partial file.


some idea?



Augusto Morais

--
You received this message because you are subscribed to the Google Groups "symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en .


--
You received this message because you are subscribed to the Google Groups "symfony 
users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to