[Cartoweb-users] Plugin development issue: to which path dothetemplate (*.tpl) file points?

Alexandre Saunier alexandre.saunier at camptocamp.com
Fri Jan 12 06:22:20 EST 2007


Max Ueda wrote:
> ClientPluginName.php file. That's why it wasn't
> working, because I was not retrieving the values from
> the form with FilterRequestModifier::getvalue()

That's true if your plugin implements the FilterProvider interface.

In most cases if your plugin handles a dedicated set of form input 
elements (which means it has to implements the standard GuiProvider 
interface), it is sufficient to use the handleHttpGetRequest() or 
handleHttpPostRequest() methods in wich you simply have to work with 
$request array.

Take a look at the example plugin "hello" 
(cartoweb3/projects/test_main/plugins/hello)


More information about the Cartoweb-users mailing list