Wednesday, August 22, 2012

Re: CakePdf - How To Start?


I changed CakePlugin::load('CakePdf', array('bootstrap' => true, 'routes' => true)); to CakePlugin::load('CakePdf', array('bootstrap' => true)); and the error is gone however I still am not getting a PDF.

I forgot to mention I have created the layout in /app/View/Layout/pdf/default.ctp and am trying to go to /reports/snapshots.pdf where I get this error now:

Error: The action snapshots.pdf is not defined in controller ReportsController

I think I am still missing the configuration, what is a sample of this so I can get it setup properly.

Thankyou


--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate