On 10/12/2009 10:57, Walter Lorenzetti wrote:
> Hi all, hi Armin, I'm writing authentication plugin,
> I've a problem with fill a js var with a php value:
> 
> if I try to put a js.php file in the $jsFiles array in the config.inc
> plugin file
> I obtain an error from firebug console, because in the js_sesssion.php
> file pmapper 
> use PMCommon::compressJavaScriptFile to copress js scripting plugin
> files...
> 
> so my question is:
> 
> there's a method to do it, in a simple way?
> 
> A solution not simple that i found is put in a init plugin function a ajax
> request to retrieve... the php value..
> but I found this solution not very elegant and slowly
> 
> Thanks In advance
> W
> 

does it work when you deactivate the compression of the JS files by 
setting the debugLevel in the config xml to 4? If so, it would be 
possible to add another config parameter that globally disables this, 
even when debug set to production values like 1 or 0 (all for the small 
price of more data to be sent to the browser).

armin

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to