Sunday, January 29, 2012

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

And that's the wrong URL. I'm such a big help.

http://stackoverflow.com/questions/6802359/cakephp-with-phprtflite

M

On Sun, Jan 29, 2012 at 6:35 PM, Matt Murphy <mattyhead@gmail.com> wrote:
> Scratch that...
> Try:
> http://ask.cakephp.org/questions/view/phprtflite_with_cake
>
> M
> On Sun, Jan 29, 2012 at 3:01 PM, Matt Murphy <mattyhead@gmail.com> wrote:
>> There's LiveDocx. http://www.phplivedocx.org/.  I think it's in Beta.
>> I'm not sure if it will handle the header modification, but that's not
>> exactly rocket surgery...
>>
>> Cheers,
>> M
>>
>> On Sun, Jan 29, 2012 at 2:40 PM, support@deep-coding.net
>> <support@deep-coding.net> wrote:
>>> 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 <dereurom...@googlemail.com> 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, "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

--
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: