[Cartoweb-users] Tooltips
Oliver Christen
oliver.christen at camptocamp.com
Tue Mar 17 05:24:25 EST 2009
mmm, you will not see anything about tooltips in the jstrace.
you will only see something in Firebug's console if some ajax Get queries are done or not.
be sure all the tooltips .js files are loaded when you look at your page source in your browser
----- Original Message -----
From: Arnaud DELEURME
To: Oliver Christen
Cc: cartoweb-users at lists.maptools.org
Sent: Thursday, March 12, 2009 9:07 AM
Subject: Re: [Cartoweb-users] Tooltips
I don`t understand why I can`t see Tooltips on my project...now...
I inserted the METADATA code in my mapfile but there is no positive results.
My JS Trace bugger show
--- Action Location.Recenter triggered ---
Calling Location.Recenter onBeforeAjaxCall()
Calling AjaxPlugins.Common.onBeforeAjaxCall()
Initiating AJAX request
Pending actions: 1
GET params:
ajaxActionRequest=Location.Recenter&
POST params:
posted=1&js_folder_idx=1&js_toolbar_idx=&selection_type=&selection_coords=&features=&project=maps&collapse_keymap=0&fake_reset=&tool=pan&pdfOrientation=portrait&pdfTitle=&pdfNote=&pdfScalebar=on&shortcut_doit=1&openNodes=1-1-1,1-1-2,1-1-4,1-1,1&layers[]=rel&layers[]=geog&layers[]=ko&recenter_none_3=&recenter_none_2=&recenter_none_1=&recenter_none_0=&layersReorder=&pdfFormat=A4&pdfResolution=96&shortcut_id=0&layersTransparency_3=100&layersTransparency_2=30&layersTransparency_1=100&layersTransparency_0=100&
Waiting for response...
Response received!
Plugins that gave response: location layers images query tables layerReorder cartoMessages
Updating GUI for plugin Location
Updating dhtmlAPI's bbox and factor properties...
AjaxHandler.updateDomElement(): Updating recenter_scale_div element's innerHTML's value...
Warning: given element (recenter_scale_div) was not found in the DOM!
AjaxHandler.updateDomElement(): Updating currentScale element's innerHTML's value...
Warning: given element (currentScale) was not found in the DOM!
AjaxHandler.updateDomElement(): Updating location_info element's innerHTML's value...
Warning: given element (location_info) was not found in the DOM!
Updating GUI for plugin Layers
AjaxHandler.updateDomElement(): Updating folder1 element's innerHTML's value...
Updating GUI for plugin Images
AjaxHandler.updateDomElement(): Updating keymap element's src's value...
AjaxHandler.updateDomElement(): Updating scalebar element's src's value...
Warning: given element (scalebar) was not found in the DOM!
AjaxHandler.updateDomElement(): Updating map_drawing element's style.display's value...
Updating GUI for plugin Query
Updating GUI for plugin Tables
AjaxHandler.updateDomElement(): Updating tables_result element's innerHTML's value...
Warning: given element (tables_result) was not found in the DOM!
Updating GUI for plugin LayerReorder
AjaxHandler.updateDomElement(): Updating layerReorderDiv element's innerHTML's value...
Updating GUI for plugin CartoMessages
Developer messages: 2
* getMap request time: 1.552533 (wrong if mapResult cache hit)
* array ( 'ajaxActionRequest' => 'Location.Recenter', 'posted' => '1', 'js_folder_idx' => '1', 'js_toolbar_idx' => '', 'selection_type' => '', 'selection_coords' => '', 'features' => '', 'project' => 'maps', 'collapse_keymap' => '0', 'fake_reset' => '', 'tool' => 'pan', 'pdfOrientation' => 'portrait', 'pdfTitle' => '', 'pdfNote' => '', 'pdfScalebar' => 'on', 'shortcut_doit' => '1', 'openNodes' => '1-1-1,1-1-2,1-1-4,1-1,1', 'layers' => array ( 0 => 'rel', 1 => 'geog', 2 => 'ko', ), 'recenter_none_3' => '', 'recenter_none_2' => '', 'recenter_none_1' => '', 'recenter_none_0' => '', 'layersReorder' => '', 'pdfFormat' => 'A4', 'pdfResolution' => '96', 'shortcut_id' => '0', 'layersTransparency_3' => '100', 'layersTransparency_2' => '30', 'layersTransparency_1' => '100', 'layersTransparency_0' => '100', 'LangCookie' => 'en', 'TestCookie' => 'OK', 'jsTrace' => '8px 559px 765px 496px', '__utma' => '50213246.2935364786852395500.1228378261.1235460140.1236771059.23', '__utmz' => '50213246.1231407646.16.5.utmcsr=infodim.eu|utmccn=(referral)|utmcmd=referral|utmcct=/index.php/en/maps/sdi', 'PHPSESSID' => '7e8fa233483456ffd3d805c4f0a17bc4',)
User messages: 0
Calling Location.Recenter onAfterAjaxCall()
AjaxHandler.updateDomElement(): Updating id_recenter_ids element's value's value...
Warning: given element (id_recenter_ids) was not found in the DOM!
Calling AjaxPlugins.Common.onAfterAjaxCall()
Clearing DHTML drawings...
Clearing stored features...
--- Action Location.Recenter complete ---
Maybe there is a problem...
Thanks a lot for your information
Arno
----- Mail Original -----
De: "Oliver Christen" <oliver.christen at camptocamp.com>
À: "Arnaud DELEURME" <a.deleurme at gers.cci.fr>
Cc: cartoweb-users at lists.maptools.org
Envoyé: Mardi 10 Mars 2009 10h27:19 GMT +02:00 Athènes, Beyrouth, Bucarest, Istanbul
Objet: Re: [Cartoweb-users] Tooltips
the toolTips plugin has no server part (have a look in /plugins/toolTips) so adding it in your server_conf/my_project.ini has simply not effects
----- Original Message -----
From: Arnaud DELEURME
To: Oliver Christen
Cc: cartoweb-users at lists.maptools.org ; Lauber Christoph
Sent: Tuesday, March 10, 2009 9:07 AM
Subject: Re: [Cartoweb-users] Tooltips
I need this in my server_conf/my_project.ini ???
; plugin configuration and loading
mapInfo.loadPlugins = toolTips, mapOverlay, layerReorder, exportPdf, ogcLayerLoader, catalog, projectImages, cursorLocation
Arno
----- Mail Original -----
De: "Oliver Christen" <oliver.christen at camptocamp.com>
À: "Lauber Christoph" <ch.lauber at geo-thun.ch>, "Arnaud DELEURME" <a.deleurme at gers.cci.fr>
Cc: cartoweb-users at lists.maptools.org
Envoyé: Mardi 10 Mars 2009 09h10:05 GMT +02:00 Athènes, Beyrouth, Bucarest, Istanbul
Objet: Re: [Cartoweb-users] Tooltips
ah true, good catch Christoph ;)
----- Original Message -----
From: Lauber Christoph
To: Arnaud DELEURME ; Oliver Christen
Cc: cartoweb-users at lists.maptools.org
Sent: Tuesday, March 10, 2009 7:48 AM
Subject: AW: [Cartoweb-users] Tooltips
hello
you should load the toolTips plugin on client_conf/client.ini and not server_conf/my_project.ini.
hope it works afterwards.
regards
christoph
--------------------------------------------------------------------------
Von: Arnaud DELEURME [mailto:a.deleurme at gers.cci.fr]
Gesendet: Montag, 9. März 2009 14:47
An: Oliver Christen
Cc: cartoweb-users at lists.maptools.org
Betreff: [Cartoweb-users] Tooltips
hi all,
I try to install the TooTips plugin without results...
I rode the previous messages in relation with the new plugin (3.5 version).
Also, I wrote my toolTips.ini in client_conf
I have inserted the folder toolTips in the plugin folder from the demoToolTips project (demos CW3),
I loaded the toolTips plugin in server_conf/my_project.ini
I added sentences code in my cartoclient
and finally I modified my mapfile in METADATA...
How can it works??
Arnaud DELEURME.
Ligne Directe : 00.30.69.377.26.375
Email : deleurmea at yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090317/e775897e/attachment-0001.htm
More information about the Cartoweb-users
mailing list