Hey Reynier, I'm sorry, I'm not familiar with the inner workings of twig, I was just commenting on why you got the other error. I would take a look at the sfTwigPlugin that's in development. It looks like the integration would be more seamless.
Daniel On Nov 22, 8:41 pm, ReynierPM <rper...@uci.cu> wrote: > Richtermeister wrote: > > You're not doing anything with the output of twig. as far as the > > surrounding symfony application is concerned, you're executing the > > TestTwig action, and it's looking for a corresponding template. In > > your case you want to echo the twig output and then say: > > return sfView::NONE, or stick the twig output into the response > > directly.. > > > Hope this helps, > > Daniel > > Hi Daniel: > I'm trying to get this working and I can't. As follow your suggestions > and wrote this piece of code at the end of the function: > > $template = $twig->loadTemplate('install.index.html'); > echo $template->render(array()); > return sfView::NONE; > > But it didn't show me the template content. Why? > Cheers > -- > ReynierPM -- 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=.