The JS custom files loading should now be solved with separate loading 
of those files from the config directories. See changeset 1316

http://svn.pmapper.net/trac/changeset/1316

To use it you need to replace the files under incphp with the new 
versions and add a line

   echo $jsCustomReference;

in your map_xyz.phtml file as shown in the changeset link.


I also used now a more professional JS compression method via the 
JSMinPlus tool. If someone experiences now problems with plugins and 
their compressed JS code please let me know.

armin


On 07/26/2013 11:50 AM, Chris forum wrote:
> Hi all,
>
> Now that Thomas has updated several plugins, I realise I shouldn't have
> customized them in their own directories.
>
> I am now trying to put my changes back into custom.css and custom.js, in
> order to not loose them at the next general update.
>
> I am first trying to do that with the Coordinates plugin where I have done
> some modifications into coordinates.js.
>
> So now there is a modded
> *$.extend(PM.Plugin,
> {
>      Coordinates:
>      {*
>
> into my custom.js file, but it is not used/read by pmapper.
> In order to have it taken into account, I have to delete that part in
> coordinates.js
>
> Am I doing this correctly?
> Is there a way to have custom.js 'taking the lead' over the plugins files?
> What if a PHP file of a plugin needs to be modified?
>
> Cheers,
> Chris
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to