Hi,

It just require an other include in config.inc :
$jsFiles = array('../common/common.js', 'locateXY.js');

Thomas

Le 04/02/2012 11:56, VT a écrit :
> Hi,
> followed instructions but I get an error when I click on xy button:
>
> 1. Enabled the plugin by adding a line in config_default.xml file:
> <pmapper>
>      <ini>
>          <pmapper>
> ....
>              <plugins>locateXY</plugins>
> ....
>          </pmapper>
> </ini>
> </pmapper>
>
> 2. added the search tool button to the interface in
> /config/default/js_config.php file:
> PM.buttonsDefault = {
> .....
>      buttons: [
> .....
>          {tool:'locateXY',      name:'Recherche XY',
> run:'PM.Plugin.locateXY.openDlg'},
> ....
> ]
> }
>
> 3. copied icon in buttons
>
> The chrome console error is:
>
> Uncaught ReferenceError: openAjaxQueryIn is not defined
> $.extend.locateXY.openDlgjs_session.php:154
> (anonymous function)
> $.fn.extend.pmToolBarpm_cjs.js:41
> d.event.handlejquery_merged.js:16
> d.event.add.k.handle.mjquery_merged.js:16
>
> Thank you very much
>
> Giovanni
>
>
> 2012/2/1 Mouanis LAHLOU<mouanis.lah...@gmail.com>
>
>> Here is a new plugin who can enable search of a point by typing his
>> geographic coordinates.
>> Looking for yours comments
>> Regards
>>
>> --
>> *Dr Mouanis LAHLOU*, *Professeur*
>> Département de Statistique et Informatique Appliquées,
>> Institut Agronomique et Vétérinaire Hassan II,
>> B.P. 6202. Rabat–Instituts, Rabat MAROC
>>
>> mouanis.lah...@gmail.com
>> m.lah...@iav.ac.ma
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to