Hi, perhaps I'm wrong but following the steps from the
http://symfony.com/doc/current/book/page_creation.html and using the PHP
render option leads me to no template at all with just echoed chars.
I used the twig template option using the proper render at
*// src/Acme/HelloBundle/Controller/HelloController.php*
return $this->render('AcmeHelloBundle:Hello:index.html.twig', array('name'
=> $name));
and everything goes ok, but when i switch to this:
*// src/Acme/HelloBundle/Controller/HelloController.php*
return $this->render('AcmeHelloBundle:Hello:index.html.php', array('name' =>
$name));
I get this on the browser when opening the Hello page:
*
extend('::layout.html.php') ?> Hello escape($name) ?>!*
I followed the steps at the Page Creation documentation, I believe that this
is just a lack of brackets or something like that, and I will look into it
later but someone else had this issue? If this is a lack or missing brackets
it should be corrected on the "Page Creation" documentation. I'm still
trying to learn Symfony, but this can be a simple PHP missing char
somewhere, and I'm still trying to figure out how all this works.
PS - Running on a WAMP environment
--
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