[Cartoweb-users] exportPdf: config Files & templates

Alexandre Saunier alexandre.saunier at camptocamp.com
Fri Dec 16 06:50:22 EST 2005


Hi Manu,

most exportPdf form inputs are optional:
- some have default values directly available from the exportPdf.ini 
file (or at least PHP hard-coded if not available in the config file)
- others are not necessary to build the PDF document (overview, title, 
note, legend, etc.) and will simply be not displayed in the final PDF.

If you do need those "blocks" to appear in the document you may either 
specify values as "hidden" form inputs in the HTML interface or create 
some dedicated blocks of your own in the config file.

Before doing so, try removing those form inputs either by removing their 
ids from the exportPdf.ini "general.activatedBlocks" or directly from 
the HTML. Perhaps that's the only things you need to do in your case?!

AS

Emmanuel Belo wrote:
> Hi,
> 
> i'm trying to adapt the exportPdf template (form.tpl) so that it remains 
> only a print button.
> 
> If i set all print parameters to default values in the config file 
> (exportPdf.ini), what should i do with the original input tags in 
> form.tpl? Does the plugin need them (with hidden type)? How does it work?
> 
> Thank you in advance,
> 
> best regards,
> 
> Emmanuel Belo



More information about the Cartoweb-users mailing list