Otto,
I made a pull request fixing this issue. If a url is detected
(http://something) in an attribute it is checked whether there is an
opening "<a" - tag and only if this is false the tag is automagically
created. So if you store a complete html-formatted link in your
attribute it should be displayed as stored.
Bernhard
Am 23.04.2013 14:34, schrieb Otto Dassau:
Hi Bernhard,
yes, that doesn't work properly.
<a class="popupLink" href="http://www.qgis.org">QGIS Homepage</a>
ends up in a string ("QGIS Homepage' target="_blank">QGIS Homepage), where
the second link (QGIS Homepage) works and the first one is wrong. So that
doesn't work well.
But<a href=http://www.qgis.org>QGIS Homepage</a> is fine.
Regards
Otto
Am Tue, 23 Apr 2013 13:37:00 +0200
schrieb Bernhard Ströbl<[email protected]>:
Hi Otto,
you are right. This won't work. The automatic url detection is for
simpler cases where users store a pure url in a field. This url is
detected and displayed as a link without any html writing necessary.
So if you want to individually format a complete link with html tags you
may do it as you showed. If you do
<a class="popupLink" .... the link gets styled as defined in popup.css.
I cannot test currently but I think that you might get another<a> tag
around your link. Is that true?
Bernhard
Am 23.04.2013 12:47, schrieb Otto Dassau:
Hi Bernhard,
thanks for the hint, but how would that work in pratice, if I don't want
to show the complete link but a description?
At the moment to display "QGIS Homepage" I use:
<a href=http://www.qgis.org>QGIS Homepage</a>
Regards
Otto
Am Tue, 23 Apr 2013 12:26:27 +0200
schrieb Bernhard Ströbl<[email protected]>:
Hi Otto,
actually this works but is a bit outdated. If you are using the latest
webclient with the popups you should be able to simply store an URL in a
field and qwc automgically detects it and forms the<a>-tag around it so
it becomes a clickable link.
Bernhard
Am 23.04.2013 09:43, schrieb [email protected]:
Hi Otto
you can see the replay of Bernard Stroebl about this:
http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
Regards
Leonardo
On Tue, 23 Apr 2013 09:25:23 +0200, Otto Dassau<[email protected]>
wrote:
Hi,
is it possible to have clickable web links from features in the qgis
webclient? And if yes, would I need qgis master to use it?
And another question. I saw that e.g. qgiscloud allows to choose base
layers
from google, bing, ... with qgis webclient. This does not seem to be
part
of the "official" repository in github - right? Is it planned to
integrate
this functionality or is somebody already working on it?
I found several mailings but not really a solution or clear hint.
Regards
Otto
__________ Information from ESET Mail Security, version of virus
signature database 8256 (20130423) __________
The message was checked by ESET Mail Security.
http://www.eset.com
__________ Information from ESET Mail Security, version of virus signature
database 8256 (20130423) __________
The message was checked by ESET Mail Security.
http://www.eset.com
__________ Information from ESET Mail Security, version of virus signature
database 8257 (20130423) __________
The message was checked by ESET Mail Security.
http://www.eset.com
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer