Forums / Setup & design / PDF export from self created module view possible ???

PDF export from self created module view possible ???

Author Message

h8 me

Thursday 26 May 2005 5:39:55 am

Hallo,

I have created a module which has a view where the result of some calculations and some other stuff are displayed.
How can i export the result to a pdf file?

h8 me

Thursday 26 May 2005 6:15:56 am

To make the problem clearer:
The result looks s.th. like this:

$tpl-> setVariable('result',$result);

$Result = array();
$Result['content'] =& $tpl->fetch( 'design:test/overview.tpl' );
$Result['path'] = array( array( 'url' => false,
                                'text' => 'result') );

therefor there is no node_id as parameter for the pdf funktion.

Or can I redirect the result to a dummy node?