Hola
En estos momentos realizo mi proyecto de tesis con la suit P:MAPPER 1.0.8 .
Se trata de un proyecto de turismo en Santiago de Chile
 El problema que se me presento es que quiero realizar un hiperLink de la
base de datos (archivos shape) logre configurar mi archivo MapFile para que
me reconozca los campos que quiero que sean Hiperlink. Pero en el momento de
hacer click al coampo con la direccion web, no me realiza el hiperlink, sino
que me envia un mensaje de eror.
 Si alguien de los usuarios de P:MAPPER me puede ayudar estaria agradecido
 Stirner
------------ pr?xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: 
http://www.faunalia.com/pipermail/pmapper-users/attachments/20051005/e3e94652/attachment.htm
From [EMAIL PROTECTED]  Wed Oct  5 20:35:19 2005
From: [EMAIL PROTECTED] (Armin Burger)
Date: Wed Oct  5 20:36:02 2005
Subject: [Pmapper-users] consulta p.mapper
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Victor,

you have to set the METADATA tag "RESULT_HYPERLINK" for the layer. I put 
an example on

http://www.pmapper.de/demo/v1/

the layer cities has a METADATA definition

"RESULT_HYPERLINK" "CITY_NAME||Link on Detail"

Which causes the field CITY_NAME to appear as hyperlink in the query 
result using 'Link on Detail' as display text. Clicking on the link 
invokes the JS function 'openHyperlink()' in 'custom.js' which you can 
see at

http://www.pmapper.de/demo/v1/javascript/custom.js

That shows you the three parameters passed to that function as an alert, 
which are layer name, field name and field value. Your javascript has 
then to decide what to do with it. It could eg open a PHP file that 
provides the function for the donwload. This offers some flexibility and 
the desired link has not to be fully written in the shapefile attributes 
table.

Best regards

Armin

Victor Contreras wrote:
> Hola
> En estos momentos realizo mi proyecto de tesis con la suit P:MAPPER 
> 1.0.8 . Se trata de un proyecto de turismo en Santiago de Chile
>  
> El problema que se me presento es que quiero realizar un hiperLink de la 
> base de datos (archivos shape) logre configurar mi archivo MapFile para 
> que me reconozca los campos que quiero que sean Hiperlink. Pero en el 
> momento de hacer click al coampo con la direccion web, no me realiza el 
> hiperlink, sino que me envia un mensaje de eror.
>  
> Si alguien de los usuarios de P:MAPPER me puede ayudar estaria agradecido
>  
> Stirner
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pmapper-users mailing list
> [EMAIL PROTECTED]
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users

Reply via email to