IIRC, templating's engine option can also be engines and receive multiple
engines.  Try that, and provide "twig" as an additional engine.  I can't
help with the XML syntax, but looking at the templating register() command
in FrameworkExtension (or perhaps the XSD if it's up to date) should help
you.

I believe the profiler depends on twig, and without the engine at least
enabled (even if you don't use it in your own project code), its templates
cannot be rendered.  Perhaps it would be more developer-friendly if this
case threw an exception?

On Tue, Jan 25, 2011 at 7:42 AM, Ruudk <[email protected]> wrote:

> I use PHP templates as default. So I setup <app:engine id="php" /> in my
> <app:templating> tag. But now my webprofiler toolbar does not render, it get
> this at the bottom:
>
> {% if 'normal' != position %}
> {% endif %}
> {% for name, template in templates %} {{ template.renderblock('toolbar', {
> 'collector': profiler.get(name) }) }}{% endfor %}{% if 'normal' != position
> %}  {% endif %}
>
> --
> 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 developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
jeremy mikola

-- 
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 developers" 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-devs?hl=en

Reply via email to