Thanks Zoltan, but that was not my problems. What I want is when I click hyperlink on field "name", then open result as I click field "id" (but I dont want to hyperlink field "id). I think there is something in javascript should be modified.
Here is my metadata LAYER ... METADATA "DESCRIPTION" "Facilities" "RESULT_FIELDS" "id, name, type" "RESULT_HEADERS "ID, NAME, TYPE" "RESULT_HYPERLINK" "name" END ... END Regards, Gunawan On Fri, Mar 26, 2010 at 8:23 PM, Siki Zoltan <s...@agt.bme.hu> wrote: > Hi, > > You must define the hiperlink field(s) int your map file in the metadata > section. For example: > LAYER > .... > METADATA > "RESULT_HYPERLINK" "your_column" > ... > END > ... > END > > And you must add some javascript code to the custom.js file (config/default > directory). You must change the openHyperlink function. > If you use version 3.x, you can find this javascript in the javascript > directory. > > Regards, > Zoltan > > > On Fri, 26 Mar 2010, Gunawan Wisnu wrote: > > Hi.., >> >> I would like to ask some question about hyperlink, I think someone ever >> asked some years ago, I wonder if now he got the answer. >> >> I have a postgis table with two fields: id , name, where id is unique. >> In the query result - when I click on the feature, I want a hyperlink in >> field 'name' but the link use value from field 'id'. >> How can I do this?? >> >> Thanks in advance >> Gunawan >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users