As suggested by Piotr Kiczuk, the simplest is to use the target
attribute for the form but that's deprecated.

Another way, basically requires you to add some javascript to the page
with the printer friendly button. The idea is when the user clicks the
button you "refresh" the page but with some extra javascript code that
opens a window with your printer friendly version of things.

To open a window with any content see this site: 
http://www.javascripter.net/faq/writingt.htm

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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

Reply via email to