Monday 30 March 2009 10:51:47 pm
Hi All, exactly, I need to export content into a PDF, yet the content is not a single article but numerous objects of a folder which I need to export (loop over) plus, at the end of the PDF, the google map in landscape format. I tried your tip: /content/pdf and used override.ini.append for defining another PDF template and this seems to work:
override.ini.append:
[t_pdf]
Source=/content/pdf/full.tpl
MatchFile=t_pdf.tpl Subdir=templates
and then I used the following URL as an example: <a href={concat('/content/pdf/', $node.node_id)|ezurl}>PDF</a>
However, now I need to digg into the topic of formating the PDF as it looks pretty poor:
The objects need to be displayed in 2 columns, with boxes around each content and a little image (page layout: portrait). At the end of the document I need to add the google map with the dynamically generated markers on it, paper size A4, landscape.
Happy for all help as I'm struggeling with this since a bit...
many thanks Anita
|