Hey,

thanks for your reply.
I totally forgot to say, that I am using Cakephp 2.
I read the text from ur link, but I think theres only an example how
to link to this file.
I need to save the code from my layout .ctp to an .rtf file
Do u know what I mean?

Thanks


On 29 Jan., 14:51, euromark <[email protected]> wrote:
> 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, "[email protected]" <[email protected]>
> 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to