Re: Capture views output into a file?

2010-01-13 Thread Nancy
Thanks for the suggestions! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com T

Re: Capture views output into a file?

2010-01-05 Thread archF6
Hi Nancy: Matt Curry wrote an HTML cacher helper that writes the entire view to a file and saves it in the webroot. Check out his helper code -- it seems to be doing exactly what you're after; writing the view to an HTML file. http://github.com/mcurry/html_cache http://github.com/mcurry/html_cach

Re: Capture views output into a file?

2010-01-04 Thread John Andersen
Look at the controllers render method, that should be what you want to begin with: http://book.cakephp.org/view/57/Controller-Methods#render-428 Enjoy, John On Jan 5, 2:39 am, Nancy wrote: > I'd like to be able to automatically generate a file from the output > of a view.  Can anyone point me

Capture views output into a file?

2010-01-04 Thread Nancy
I'd like to be able to automatically generate a file from the output of a view. Can anyone point me in the right direction? I don't see any file i/o available to views, maybe I'm just missing it. Thanks! Check out the new CakePHP Questions site http://cakeqs.org and help others with their Cake