now also committed to pm 4 trunk http://svn.pmapper.net/trac/changeset/1338
On 07/11/2014 07:23 PM, Armin Burger wrote: > the layout samples *.phtml files have not been updated to reflect some > changes a while ago for allowing custom orders of JS files. > > In your map_plainlayout*.phtml files search for the line (around line 66) > echo $jsConfigReference; > > and add afterwards the additional line: > echo $jsCustomReference; > > Then the custom.js from the config directories should be loaded. The > "map_default.phtml" already has that correctly set. > > armin > > > On 07/11/2014 06:16 PM, nando_gcia wrote: >> Works perfectly with the "default" folder. I modified the file >> \pmapper\pmapper_demodata\countries.shp adding a new column called >> "pdf_files" with the value "data1.pdf" in the country of Spain, after I >> edited \pmapper-4.3.2\config\default\pmapper_demo.map >> >> "RESULT_FIELDS" >> "ISOCODE,@default:NAME_EN@de:NAME_DE@it:NAME_IT@fr:NAME_FR@br:NAME_BR@es:NAME_ES,@default:CAPITAL_EN@de:CAPITAL_DE@it:CAPITAL_IT@fr:CAPITAL_FR@br:CAPITAL_BR@es:CAPITAL_ES,AREA_KM2,POPULATION,pdf_files" >> "RESULT_HEADERS" "ISO Code,Name,Capital,Area,Population,Pdf Files" >> "RESULT_HYPERLINK" "pdf_files||Link to detail" >> >> And it works perfectly, so the problem is that the template plainlayout3. >> Also js_config.php file is different than exists in the "default" folder. >> >> Can anyone help me fix it? >> >> >> >> -- >> View this message in context: >> http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-PM-Custom-open-Hyperlink-is-not-a-function-tp4025508p4025523.html >> Sent from the pmapper-users -- p.mapper users mailing list mailing list >> archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > ------------------------------------------------------------------------------ > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users