Hi,

Pmapper use its default js files loaded (by default in 
pmapper/javascript/), then all those contained in your configuration 
directory (pmapper/config/common/*.js) and then all those the current 
configuration directory (for instance pmapper/config/default/*.js).

So you can overwrite default functions by using your own js files. I 
think such file exists in a configuration directory, and that's why the 
alert box appears.

I think you should check if such js files already exists, and modify it 
(or create one). In this file, just write your new showGroupInfo 
function (or modify it if exists), witch will overwrite the existing one.

Thomas

Gabriel Messner a écrit :
> Hi,
>
> I´using pmapper 3.2.0.
>
> ###Firstly, in my config ini file I choose adding an info icon as follows:
>
> 2: by adding an info icon
>
> ###Secondly, in Javascript\src\custom.js I modify the function showGroupInfo
> as follows:
>
> function showGroupInfo(group) {
>    var winurl = 'http://localhost/pmapper/metadata/' + group + '.html';
>   window.open(winurl, "resultwin");
> }
>
> ### But when I click on the info icon, an alert appears instead of html page
> with metadata.
>
> Can anyone help me?
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
>
>   

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to