[Cartoweb-users] Hyperlink in queryresult?

Emmanuel BELO emmanuel.belo at microgis.ch
Thu Mar 16 04:15:26 EST 2006


Hi Bram,

i think it could be possible. Your link would act the same as the 
recenter module. You may need to expand your form tag in cartoclient.tpl 
  and adapt your table.tpl so that your field will act as recenter 
module... This could be one possible way, maybe not the best one...

Other suggestions?

regards,

eb

bram wrote:
> Emmanuel ( and also replied to the list),
> 
> Great to hear that will be not to hard. And again an eager question: 
> wouldn't it be to difficult to search/select one specific element in a 
> query-table back on the map by clicking the row e.g.?
> 
> Thanks again,
> 
> Bram
> Emmanuel BELO schreef:
> 
>> Hi Bram,
>>
>> yes it is possible. I've done it like this in my last project. Modify 
>> coreplugins/tables/templates/tables.tpl:
>>
>> For example:
>>
>>       {foreach name="detailed_results" from=$row->cells item=value}
>>       {if $smarty.foreach.detailed_results.first}<td><a 
>> href="http://www.xxx.org?parameter={$value}" 
>> target="_top">{$value}</a></td>
>>       {else}<td>{$value}</td>{/if}
>>       {/foreach}
>>
>>
>> Best regards,
>>
>> Emmanuel BELO
>>
>>
>> bram wrote:
>>
>>> I would like to know whether it would be possible to generate a 
>>> hyperlink as part of the table-result of a query. Of course the 
>>> linkname will be a column in the database. Or should it be difficult 
>>> to modify the query-plugin.
>>>
>>> Thanks,
>>>
>>> Bram vHoeve
>>>
>>>  
>>> cartoweb-users-request at lists.maptools.org schreef:
>>>
>>>> Send Cartoweb-users mailing list submissions to
>>>>     cartoweb-users at lists.maptools.org
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>     http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>> or, via email, send a message with subject or body 'help' to
>>>>     cartoweb-users-request at lists.maptools.org
>>>>
>>>> You can reach the person managing the list at
>>>>     cartoweb-users-owner at lists.maptools.org
>>>>
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of Cartoweb-users digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>>   1. Re: Ajax and "Pan" like Ka-map (Aaron Koning)
>>>>   2. Re: Ajax and "Pan" like Ka-map (Giorgio Plazzotta)
>>>>   3. Hi How can i have a label inside a polygon. (VenuGopal Papasani)
>>>>   4. [wiki] HowToPositionTheKeymapOnTheRight (oliver)
>>>>   5. Managing projects (Dirk Jesko)
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>> Message: 1
>>>> Date: Mon, 13 Mar 2006 19:10:21 -0800
>>>> From: "Aaron Koning" <aaronkoning at gmail.com>
>>>> Subject: Re: [Cartoweb-users] Ajax and "Pan" like Ka-map
>>>> To: cartoweb-users at lists.maptools.org
>>>> Message-ID:
>>>>     <1319fbba0603131910v60a20f2fs713b66767a81e0cb at mail.gmail.com>
>>>> Content-Type: text/plain; charset="iso-8859-1"
>>>>
>>>> Ouch, thats a tough analysis. There are many good web-mapping 
>>>> applications
>>>> that don't use AJAX and some that are in development and on their 
>>>> way to
>>>> becoming good. Any application that is released to the public has 
>>>> value and
>>>> from what I have seen cartoweb is a well recevied product. Perhaps 
>>>> cartoweb
>>>> would be better as an AJAX implementation, but thats no reason to 
>>>> label it
>>>> 'useless'.
>>>>
>>>> IMO,
>>>> Aaron
>>>>
>>>> On 3/13/06, Paul james <pauljame at gmail.com> wrote:
>>>>  
>>>>
>>>>> Hi, I really liked Cartoweb, but without Ajax  It´s completely useless
>>>>> ...  I can´t understant why u arent using Ajax ...
>>>>> You should have a look in Ka-map implementation...
>>>>>
>>>>> cya
>>>>>
>>>>> _______________________________________________
>>>>> Cartoweb-users mailing list
>>>>> Cartoweb-users at lists.maptools.org
>>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>
>>>>
>>>>
>>>> -- 
>>>> +--------------------------------------------
>>>> |  Aaron Koning
>>>> |  Information Technologist
>>>> |  Prince George, BC, Canada.
>>>> +--------------------------------------------
>>>> |  http://datashare.gis.unbc.ca/fist/
>>>> |  http://datashare.gis.unbc.ca/gctp-js/
>>>> +--------------------------------------------
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL: 
>>>> http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060313/ae736f44/attachment-0001.html 
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 2
>>>> Date: Tue, 14 Mar 2006 10:08:24 +0100
>>>> From: "Giorgio Plazzotta" <plazzotta at tiscalinet.it>
>>>> Subject: [Cartoweb-users] Re: Ajax and "Pan" like Ka-map
>>>> To: <cartoweb-users at lists.maptools.org>
>>>> Message-ID: <009301c64746$da7e2220$5443a8c0 at GIS05>
>>>> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>>>>     reply-type=original
>>>>
>>>> Dear Paul
>>>> i don't think that "useless" is an adjective that fit to define 
>>>> Cartoweb, anyway it's your opinion.
>>>> I can just tell my experience of 25 years of GIS and 7 years of 
>>>> web-GIS. Before choosing Cartoweb I tried: Mapserver scratched, 
>>>> Maplab and recently also Chameleon and Ka-Map.
>>>> For my needs Cartoweb is absolutely the best project and offers a 
>>>> number of features that the others don't. Of course there are things 
>>>> that can be improved (pls. templating!) and maybe, as you say, the 
>>>> PAN could be more attractive. I am sure that the Cartoweb developers 
>>>> will take in consideration also the idea to improve the "look and 
>>>> feel" of the applications though I am more interested in fetures and 
>>>> performance.
>>>>
>>>> Regards
>>>> Giorgio
>>>>
>>>>  
>>>>
>>>>> Hi, I really liked Cartoweb, but without Ajax  It´s completely 
>>>>> useless ...
>>>>> I can´t understant why u arent using Ajax ...
>>>>> You should have a look in Ka-map implementation...
>>>>>
>>>>> cya
>>>>>   
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 3
>>>> Date: Tue, 14 Mar 2006 15:43:47 +0530
>>>> From: "VenuGopal Papasani" <venu.papasani at gmail.com>
>>>> Subject: [Cartoweb-users] Hi How can i have a label inside a polygon.
>>>> To: cartoweb-users at lists.maptools.org
>>>> Message-ID:
>>>>     <bcb1c3940603140213t5e7b2134l109834a856300b1e at mail.gmail.com>
>>>> Content-Type: text/plain; charset="iso-8859-1"
>>>>
>>>> Hi all,
>>>>    I have a map with polygons of various districts.Now i need to 
>>>> have names
>>>> of each districts as labels inside a polygon.It is enough if i have 
>>>> only set
>>>> all the properties of the Label Class inside myplug
>>>> server/ServerMypluginname.php or shall i have to include any code 
>>>> anywhere
>>>> else. i.e i have to add anything inside the Map file or do i have to
>>>> overwrite any other plugin.
>>>>    If i need to Override the functionality of identity.If i place my 
>>>> cursor
>>>> on any of the polygon and click i need to get the details of that
>>>> polygon.how to capture those extents and how to pass them to my 
>>>> template
>>>> from server in order to write a Javascript code.
>>>>
>>>> Thanks and regards,
>>>> venu.
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL: 
>>>> http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060314/05533376/attachment-0001.html 
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 4
>>>> Date: Tue, 14 Mar 2006 11:22:46 +0100
>>>> From: "oliver" <oliver.christen at camptocamp.com>
>>>> Subject: [Cartoweb-users] [wiki] HowToPositionTheKeymapOnTheRight
>>>> To: <cartoweb-users at lists.maptools.org>
>>>> Message-ID: <006001c64751$3e328860$1500a8c0 at maunakea>
>>>> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>>>>     reply-type=original
>>>>
>>>> I just added a simple templating trick on the wiki :
>>>>
>>>> http://www.cartoweb.org/cwiki/HowToPositionTheKeymapOnTheRight
>>>>
>>>> Oliver Christen
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> Message: 5
>>>> Date: Tue, 14 Mar 2006 14:44:22 +0100
>>>> From: Dirk Jesko <ml.dje at geocontent.de>
>>>> Subject: [Cartoweb-users] Managing projects
>>>> To: Cartoweb Users <cartoweb-users at lists.maptools.org>
>>>> Message-ID: <4416C8B6.5000407 at geocontent.de>
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>
>>>> Hello,
>>>>
>>>> I set up a project for a certain area and with authorization. Now I 
>>>> would like to restrict a certain user to a certain extent of the 
>>>> map, i.e. that user should only be allowed to see a smaller area of 
>>>> the project. Is this somehow possible without creating a copy of the 
>>>> project?
>>>>
>>>>
>>>> Kind regards,
>>>> Dirk
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>>
>>>> End of Cartoweb-users Digest, Vol 11, Issue 20
>>>> **********************************************
>>>>
>>>>  
>>>>
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel.belo.vcf
Type: text/x-vcard
Size: 337 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060316/f82ac243/emmanuel.belo.vcf


More information about the Cartoweb-users mailing list