<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>just to understand a bit more, the place to work on info table format is the GeoExplorer.js<br><br>/geonode/geonode/static_root/geoexplorer/script/<br><br>or something different?<br><br>E.<br><div><hr id="stopSpelling">From: simone.dalmasso@gmail.com<br>Date: Thu, 3 Mar 2016 20:20:31 +0100<br>Subject: Re: [GeoNode-users] FW: info table on Identify<br>To: frippe12573@hotmail.com<br>CC: geonode-users@lists.osgeo.org<br><br><div dir="ltr">Hi, this is too specific question and I can't answer. Any other opinions?</div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">2016-03-03 9:45 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr"><br><div>Hi Simone and all,<br><div dir="ltr"><br>I solved by using a solution quite close to your first suggestion:<br>my layer actually is a postgis view published by a different geoserver in my institution,<br>I only make a query for the postgis view which add a field built as concat of a string series where inside I concatenated the values from a field <br>belong to the same view. The field in the spatial view has an HTML format, so changing the info/format in the layer properties I can see the link.<br><br>I would have a more question on info table format:<br>I know that the HTML works only for text/html format that produce an horizontal info table.<br>Actually the text/plain produce a vertical info table, which it looks like more nice than the horizontal one.<br>Is it possible to maintain a vertical info table that use a text/html format?<br><br>best<br><br>Eugenio<br><br><br><div><hr>From: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a><br>Date: Tue, 1 Mar 2016 20:03:42 +0100<br>Subject: Re: [GeoNode-users] info table on Identify<br>To: <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><br><br><div dir="ltr">Eugenio,<div><br></div><div>I see two options, the "most" feasible would be to customise the way geonode inserts the data into the database so that he stores what you need. I thing that gsconfig is the place where you could act.</div><div><br></div><div>The second would be to customise the output, so to build the url on the geoexplorer side, and you would have to customise it.</div><div><br></div><div>Both of them might be challenging.</div></div><div><br><div>2016-03-01 18:29 GMT+01:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Hi all,<br><br>I followed sometime ago this post:<br><br><a href="https://groups.google.com/forum/#%21topic/geonode-users/_70X3r03Pt4" target="_blank">https://groups.google.com/forum/#!topic/geonode-users/_70X3r03Pt4</a><br><br>on
displaying a url in a field of the table got from 'getfeatureinfo'
(i.e. Identify button on GeoExplorer (i.e. Maps function of geonode)).<br>I tested the solution and actually it works, I would add 'statically'.<br>I mean I can run the link to an external document or somehow as the link stored in the field is.<br><br>I wonder if it is possible to build a URL dynamically, and store it in the output table of the getfeatureinfo.<br><br>I try to make an example:<br><br>consider a map with only one point layer, the layer has a simple table of attributes (id, name, url)<br>on identify I get info from a feature and in output table I have id, name and url of course, what I'm asking<br>you is if it is possible to complete the url inserting the value of the identified feature.<br>If I identify a feature with id=300 name=pippo and url=<a href="http://my_server_name/srt/chart.php?id=" target="_blank">http://my_server_name/srt/chart.php?id=</a><br>It would be nice to have url completed as follow dinamically<br><a href="http://my_server_name/srt/chart.php?id=300" target="_blank">http://my_server_name/srt/chart.php?id=300</a><br><br>Is that feasible?<br><br>Thank you for any react<br><br>best<span><font color="#888888"><br><br>Eugenio </font></span></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="ecxHOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div></div> </div></div> </div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="ecxgmail_signature">Simone </div>
</div></div> </div></body>
</html>