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_cache/blob/master/views/helpers/html_cache.php
On Jan 4, 7:39 pm, Nancy <[email protected]> wrote: > 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 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
