remove the custom.js below /javascript and add whatever you want as file 
with *.js extension and your desired customized openHyperlink() function 
for this config under your respective config directories
like
/config/default/custom.js
/config/pippo/custom.js
/config/toto/custom.js

the application will only load the respective JS file from the selected 
/config/subdir.

armin

zucchiatti wrote:
> ok, thank you for answer
> 
> if I have understood well I can only use an only one (openHyperlink
> function) custom.js for application.
> Thancks Daniele
> 
> 
> 
> Armin Burger wrote:
>>
>> every file with extension '.js' under directory '/javascript/' or
>> '/config/your-config/' is loaded by default. Reversing into subdirs of
>> them is not supported. 
>>
>> GetLegendGraphics for WMS layers is not supported but you can modify the
>> legend.php to get it. Does not look very nice though in most cases.
>>
>> armin
>>  
>>
>>> Hello,
>>>
>>> 1) When launch pmapper by INI file at start up using URL parameter &
>>> config
>>> based on the same common application, pmapper use only default custom.js
>>> file (javascript/custom) and not my custom file putting in sub config
>>> istance directory. (example: /pmapper/custom/comuni/custom.js). Only
>>> default
>>> work fine.
>>>
>>> Search.xml instead work correctly for any istance.
>>>
>>> How to set the correctly custom.js path for any istance?
>>>
>>> 2) Use pmapper like wms client. The GetLegendGraphics is supported?
>>>
>>> Thanks
>>> Daniele
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/custom.js-for-multiple-url-config-istance-tf4150597.html#a11807513
>>> Sent from the pmapper users mailing list archive at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> -- 
>> GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
>> Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to