On 2/25/11 6:08 PM, Jan Eichhorn wrote:
Hi,
i've read the Documentation about Templating with Twig.
In the Section:


      Embedding Controllers

is mentioned that controllers could be used with the include tag.
But this dosen't work so far.

I try this:

{% include 'PageBundle:Meta:mainNavigation' %}
inside the Template.

Replace include with render

in this bundle there is a Meta Controller and an mainNavigationAction
wich returns some HTML as response.

i always get the exception that this Template
"PageBundle:Meta:mainNavigation" dosent exists.

So what i have to do to include this Controller??

Thanks

--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com

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

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to