Tuesday, April 5, 2011

Re: Print

thanks for help, but i have new problem about print

I've done a print command on app.controller with __print1 names and functions that I have run on books.controller with a command like this $ data ['topurl'] = array ('print'=>'/ books/page_to_print/123aa' . $ id);
I run with the print button, the print has been worked out but why the data did not show up, even though I had to call based on $ id ..

please help

Thanks, Richie







--- Pada Sel, 5/4/11, mikek@brightstorm.co.uk <mikek@brightstorm.co.uk> menulis:

Dari: mikek@brightstorm.co.uk <mikek@brightstorm.co.uk>
Judul: Re: Print
Kepada: cake-php@googlegroups.com
Tanggal: Selasa, 5 April, 2011, 12:00 PM

> what anyone knows how to create scripts for the print button in
> CakePHP? please help

i suspect you are trying to invoke your browsers print function which
you'll need to do in javascript

http://www.quackit.com/javascript/javascript_print.cfm



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

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