Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-14 Thread nando_gcia
All right, now it works perfectly. Thank you all and of course Armin -- 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-tp4025508p4025532.html Sent from the pmapper-users -- p.mapper use

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread Armin Burger
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

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread Armin Burger
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 $jsCustomRe

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread nando_gcia
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

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread nando_gcia
Raffaele, I've read the documentation pmapper, but I do not know how to fix the "plainlayout3" template to run the Hyperlink. -- 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-tp402550

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread Raffaele Morelli
2014-07-11 13:28 GMT+02:00 nando_gcia : > I agree with you Raffaele. > > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025520/sources_chrome2.jpg > > > > But i don't know how to fix it. > > ​http://svn.pmapper.net/trac/wiki/DocManual#DirectoryandFileStructure ---

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-11 Thread nando_gcia
I agree with you Raffaele. But i don't know how to fix it. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-PM-Custom

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Raffaele Morelli
2014-07-11 8:36 GMT+02:00 Siki Zoltan : > Dear Raffaele, > > have you tried Javascript debugging? For example in FireFocyou can use the > FireBug extension to add breakpoint to your Javascript code, you can see > Javascript error messages... > In the linkUrl I see a space after localhost: > > link

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Siki Zoltan
Dear Raffaele, have you tried Javascript debugging? For example in FireFocyou can use the FireBug extension to add breakpoint to your Javascript code, you can see Javascript error messages... In the linkUrl I see a space after localhost: linkUrl = 'http:/' + '/localhost /sitejob/files/ Is it a

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Raffaele Morelli
2014-07-11 7:51 GMT+02:00 nando_gcia : > Raffaele, this is my sources: > > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025515/sources_chrome.jpg > > > > ​...​ then you search -- Open so

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread nando_gcia
Raffaele, this is my sources: -- 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-functi

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Raffaele Morelli
2014-07-11 7:23 GMT+02:00 Fernando : > There is the code again: > > ... > > METADATA > > "RESULT_FIELDS" "id, pdf_files" > > "RESULT_HEADERS" "ID, PDF FILES" > > "RESULT_HYPERLINK" "pdf_files||Link to pdf detail" > > ... > > > > $.extend(PM.Custom, > { > // Sample Hyperlink function for result

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Fernando
7; + fldName + ' - ' + fldValue); } }, Perhaps the error is the non-existence of Custom.js file in the "plainlayout3" folder, which I copied from the "default" folder? > Date: Thu, 10 Jul 2014 14:53:26 +0200 > From: s...@agt.bme.hu > To: nando_

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Fernando
No Zoltan, there is no blanks, it was a mistake that has entered the google translator, thanks. > Date: Thu, 10 Jul 2014 14:53:26 +0200 > From: s...@agt.bme.hu > To: nando_g...@hotmail.com > CC: pmapper-users@lists.sourceforge.net > Subject: Re: [pmapper-users] PM.Custom.open Hyp

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Siki Zoltan
Dear Fernando, there is an extra space $. extend( in custom.js = change to $.extend(... Best regards, Zoltan On Thu, 10 Jul 2014, Fernando wrote: > Hello, I have installed mapserver 5.6, pmapper 4.3.2 and use alternative > template "plainlayout3", I'm not using

Re: [pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Thomas RAFFIN
Hi, There are "/ /" instead of "//" in the code you send. I think this could create js errors in your browser, no? Le 10/07/2014 13:58, Fernando a écrit : > Hello, I have installed mapserver 5.6, pmapper 4.3.2 and use alternative > template "plainlayout3", I'm not using the default template. I

[pmapper-users] PM.Custom.open Hyperlink is not a function

2014-07-10 Thread Fernando
Hello, I have installed mapserver 5.6, pmapper 4.3.2 and use alternative template "plainlayout3", I'm not using the default template. I have in the attribute table of a shp file a column called "pdf_files", in which I keep the name of the pdf file. In the map file I have placed the following: