[Cartoweb-users] How to modify exportPdf.ini values using a weblink ?

Oliver Christen oliver.christen at camptocamp.com
Thu Feb 7 03:31:11 EST 2008


it should be possible
create a simple plugin that implements FilterProvider and feed the POST 
parameters with the value you send via GET
have a look at ClientOutline.php function filterGetRequest to see how to use 
$request->getValue() and $request->setValue()

and you will probably need to set the variable "posted = 1" (to simulate the 
posting of the form, otherwise some treatments are modified/bypassed)

regards
Oliver


> Hi list,
>
> I just want to know if it's possible to modify the exportPdf.ini values 
> using the "mode=pdf" into a link.
> I explain myself:
> i have got this sort ok link : <a 
> href="http://www.my_url.fr/cw3.php?mode=pdf">print me !</a> and i would 
> like write something like <a 
> href="http://www.my_url.fr/cw3.php?mode=pdf&amp;pdtTitle=ma_super_belle_carte&amp;pdfNote=mon_grand_commentaire_ici">print 
> me !</a> where the keys values modify the blocks.title.content and 
> blocks.note.content values into client_conf/exportPdf.ini file.
>
> Thanks for help and excuse my poor english.
>
> MC
>
> -- 
> Marie Coutard
> Géographe - géomaticienne
> 1, avenue de la Butte
> 41 000 BLOIS
> Tél : 02 54 51 56 50
> Fax : 02 54 51 56 51
> Mail : marie.coutard at caue41.fr
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list