Changes between Version 14 and Version 15 of FaqTips


Ignore:
Timestamp:
Jul 22, 2011, 3:21:51 PM (7 years ago)
Author:
armin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FaqTips

    v14 v15  
    6767STATUS DEFAULT 
    6868}}} 
    69 and don't reference the layer in the config.ini file. This way it is always drawn by Mapserver logic and never switched off by p.mapper logic. 
     69and don't reference the layer in the config XML file. This way it is always drawn by Mapserver logic and never switched off by p.mapper logic. 
    7070 
    7171 
     
    102102 
    103103== Setting up a common library container for multiple p.mapper applications == 
    104 p.mapper currently requires to have all PHP and Javascript files inside the main application window. For multiple applications using the same PHP and JS code base this requires a multiple maintenance of these files. Most p.mapper applications differ just in the configuration (config.ini, map file, etc) and the CSS templates, so having them sharing the same libaries makes the maintenance of these applications easier, mainly for applying updates and bug fixes. 
     104p.mapper currently requires to have all PHP and Javascript files inside the main application window. For multiple applications using the same PHP and JS code base this requires a multiple maintenance of these files. Most p.mapper applications differ just in the configuration (config_xyz.xml, map file, etc) and the CSS templates, so having them sharing the same libaries makes the maintenance of these applications easier, mainly for applying updates and bug fixes. 
    105105 
    106106One way to work with this is the use of '''symbolic links'''. One could e.g. set up in the WWW root a common directory ''pmapper'' containing the ''javascript'' and ''incphp'' directories and symlinking them into the applications' tree. Like the following example