[Mapbender_dev] [Mapbender] #817: New Constant in mapbender.conf
Mapbender
mapbender_dev at lists.osgeo.org
Thu Apr 21 05:39:02 EDT 2011
#817: New Constant in mapbender.conf
-----------------------------+----------------------------------------------
Reporter: armin11 | Owner: dev
Type: feature request | Status: new
Priority: major | Milestone: 2.7.2 release
Component: core | Version: 2.7.1
Keywords: |
-----------------------------+----------------------------------------------
There is a demand for defining a further constant in mapbender.conf. This
constant should be a path to a script, that wraps the mapbender
index.php/login.php. In many circumstances the login.php file may not be
directly available - maybe mapbender will be be integrated in another cms
like typo3. To invoke e.g. the Get-Api (http://www.mapbender.org/GET-
Parameter) of mapbender, another url is used, which will be the url to the
wrapper script. This script will be used if the constant WRAPPER_URL is
not empty. Example for mapbender.conf:
[[BR]]
# --------------------------------------------[[BR]]
# define a wrapper for index.php/login.php to use e.g. the get api when
integrated in external applications like cms[[BR]]
# --------------------------------------------[[BR]]
#define("WRAPPER_PATH","/portal/karten.html");[[BR]]
define("WRAPPER_PATH","");
[[BR]]
This constant maybe used from the metadata module to invoke the defined
client (maybe another mapbender installation) from there! The metadata
module will send e.g. the layer_id to the Get Api of the script behind
this url.
Further: If you find a metadata url from mapbenders metadata module by
google search, there is a link which will directly call the client (or
portal).
--
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/817>
Mapbender <http://www.mapbender.org/>
Mapbender
More information about the Mapbender_dev
mailing list