Thank you, stork
After many combinations, I solved with this lines in controller
$view = new View($this, false);
$view->layout = 'pdf';
$html = $view->element('ELEMENT');
But will try your suggestion
Regards
On 19 abr, 09:21, stork <[email protected]> wrote:
> In controller:
> $response = $this->render('view_name');
> $content = $response->body();
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php