Sunday, January 29, 2012

Re: How to create and save a file as .rtf?

what version are you using? that is the most crucial information when
asking for help^^

anyway, for 2.x I use this:
http://www.dereuromark.de/2011/11/21/serving-views-as-files-in-cake2/


On 29 Jan., 13:28, "supp...@deep-coding.net" <supp...@deep-coding.net>
wrote:
> Hey,
>
> I have a problem, I have a layout for an .rtf file, called data.ctp,
> in this file I have my rtf code (I justed opened my rtf in editor and
> copied out the code...).
> And now I want to create a .rtf file in my controller and replace some
> vars from my template and then I want to save this, that the user can
> download this file and open it with Word.
> Can anyone help me please?
>
> Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: