Thank you to the both of you - works fine. Ant, I already add the header in the template.
On Dec 15, 8:24 am, Ant Cunningham <[email protected]> wrote: > in your action: > > $this->setLayout(false); > > Youll probably also want to modify the response headers to the proper > mime type though. > > Take a look at the book and the API. > > > > juro wrote: > > Hi Nicolas, > > thank you, that worked. > > > How can I configure Symfony not to include the layout.php? > > > juro > > > On Dec 15, 7:43 am, "Nicolas Perriault" <[email protected]> wrote: > >> On Mon, Dec 15, 2008 at 6:37 AM, juro <[email protected]> wrote: > >>> In a module, I have a function/view that builds a csv, which I want to > >>> take out of the routings normal behaviour, i.e. I don't want ".html" > >>> to be added to resulting filename. > >>> How can I set the sf_format for one module's function only? > >> Just create a dedicate route, like this: > > >> csv_export: > >> url: /toto.csv > >> param: { module: foo, action: bar } > > >> The use of sf_format is not mandatory here. > > >> ++ > > >> -- > >> Nicolas > >> Perriaulthttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com > >> Phone: +33 660 92 08 67 > > -- > Ant Cunningham > Graphic Designer | Web Developer > Vector Based Design > [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
