logo       

[symfony-users] Re: Template without main template: msg#00911

symfony-users

Subject: [symfony-users] Re: Template without main template


On Fri, 31 Jul 2009, nico wrote:

> Add in your action
>
> $this->setLayout(false);

Also if you're sending back XML or JSON then set the appropriate header
like:

$this->getResponse()->setContentType('text/xml');



--



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

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise