2011/12/29 Armin Burger <armin.bur...@gmx.net>: > Francois > > in order to use the non-compressed JS files you need to define the path > in the config XML to > <pm_javascript_location>javascript/src</pm_javascript_location> > Which will then use the single files from the "src" dir.
That's perfect Armin, thanks. > The "compression" of the files was done with a PHP script from the > utilities folder, now not any more included in the releases, available > from the SVN > http://svn.pmapper.net/trac/browser/trunk/utils/compress_js Thanks for the link. > The loading of the JS files is done via PHP script adding an entry in > the <head> section for every *.js file it finds in the directory defined > under <pm_javascript_location> (and the subdir "jquery" under it) > > The problem for updating the JS files directly is that you need to take > care applying all changes for any new release in case you want to update > your application code. A possible way to avoid this is using the > possibility described here > > http://svn.pmapper.net/trac/wiki/FaqCustomizations#CustomizationsofCSSandJavaScript > > I always use the jQuery function $.extend() for overwriting existing > functions in the custom JS files. Or for larger modifications and new > functionality maybe consider putting everything in a plugin. Sure, I was quickly hacking around yesterday to see where to make my changes in order to do what I was looking for ie. adding support for custom (human-readable) column names and definition in query results based on layer's metadata. I'll keep the list up to date if that is of interest for others. Thanks a lot for your help. Cheers. Francois > Armin > > On 29/12/2011 17:14, Francois Prunayre wrote: >> Hi list, I'm new to p.mapper and I was looking for a way to update >> some JS files (at least pm.query.js) and then check my changes. >> >> I did not find a way to run p.mapper in "debug" mode using the plain >> JS instead of the merged one. >> Is there any parameters to use plain JS or any utilities to create the >> merged pm_cjs.js file ? >> >> Thanks a lot for your help. >> >> Cheers. >> >> Francois >> >> ------------------------------------------------------------------------------ >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >> infrastructure or vast IT resources to deliver seamless, secure access to >> virtual desktops. With this all-in-one solution, easily deploy virtual >> desktops for less than the cost of PCs and save 60% on VDI infrastructure >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users