Re: How to implement "Export to CSV" link in cake-php

2008-01-25 Thread powtac

To display just the link you can use this in your view:

link( 'Export to CSV', '/link/to/your/export/csv/
controller', array('target'=>'_new'), null, false);?>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to implement "Export to CSV" link in cake-php

2008-01-25 Thread gerhardsletten

If you want to automaticly download the cvs file, you have to create
the function in you controller that uses an own layout, where you set
the php headers to download or something.

Google "headers download php" and you should find!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to implement "Export to CSV" link in cake-php

2008-01-25 Thread bhushan A


hi
I got helper class.But i want to put "Export to CSV" link on view
page(.thtml page). What changes do i need to do in controller, model
and view page?
Please explain.,

On Jan 9, 6:49 pm, nate <[EMAIL PROTECTED]> wrote:
> On Jan 9, 1:32 am, bhushan A <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> >Can anybody help me how to write code for "Export to CSV" link? Or
> > there is any provision in cake php for that.?
>
> http://us3.php.net/fputcsv
>
> >please reply me on  [EMAIL PROTECTED]
>
> No.  The point of this mailing list is that it's public, so everyone
> can benefit.  Expecting that people will email you directly is selfish
> and rude.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to implement "Export to CSV" link in cake-php

2008-01-09 Thread nate

On Jan 9, 1:32 am, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>    Can anybody help me how to write code for "Export to CSV" link? Or
> there is any provision in cake php for that.?

http://us3.php.net/fputcsv

>    please reply me on [EMAIL PROTECTED]

No.  The point of this mailing list is that it's public, so everyone
can benefit.  Expecting that people will email you directly is selfish
and rude.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to implement "Export to CSV" link in cake-php

2008-01-09 Thread R. Rajesh Jeba Anbiah



On Jan 9, 11:32 am, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>Can anybody help me how to write code for "Export to CSV" link? Or
> there is any provision in cake php for that.?

   Search for "parseExtensions" 
http://groups.google.com/group/cake-php/web/frequent-discussions

--
  
Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: How to implement "Export to CSV" link in cake-php

2008-01-08 Thread Adam Royle

http://bakery.cakephp.org/articles/view/csv-helper-php5

latest version of class is here:

http://ifunk.net/cakephp/helpers/csv.php.txt

On Jan 9, 4:32 pm, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>Can anybody help me how to write code for "Export to CSV" link? Or
> there is any provision in cake php for that.?
>please reply me on  [EMAIL PROTECTED]
>
> bhushan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



How to implement "Export to CSV" link in cake-php

2008-01-08 Thread bhushan A



Hi all,

   Can anybody help me how to write code for "Export to CSV" link? Or
there is any provision in cake php for that.?
   please reply me on  [EMAIL PROTECTED]


bhushan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---