Main menu

Forum


× Help Forum English

[SOLVED] [RokBooster] API notice: set sensor value True or False

  • liopardo
  • Autore della discussione
  • New Member
  • New Member
Di più
11 Anni 11 Mesi fa - 11 Anni 11 Mesi fa #2352 da liopardo
I obtain a sistem allert before reaching the page of event(s). And on frontpage in each event google map location doesn't appear (in back end is correctly set). Any advice?
Thanks in advance,
Fabio

iC agenda v 2.0.4
joomla 2.5.8
rt Maelstrom Template
URL to site link
Ultima Modifica 11 Anni 11 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 11 Mesi fa #2353 da Lyr!C
Risposta da Lyr!C al topic API notice: set sensor value True or False
This is not an iCagenda problem.

You have something else (template, plugin) that is loading all the jquery library for all (this can be good!), but the probleme is that it is loading api google like that :
<script src="http://maps.google.com/maps/api/js?sensor=false?sensor=false"

Check code of your extensions, or plugin if install that manage jQuery (and your template too!)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • liopardo
  • Autore della discussione
  • New Member
  • New Member
Di più
11 Anni 11 Mesi fa #2357 da liopardo
Risposta da liopardo al topic API notice: set sensor value True or False
Conflict is with IC agenda only, and I have no idea where could be that line of code.
Thanks

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 11 Mesi fa #2362 da Lyr!C
Risposta da Lyr!C al topic API notice: set sensor value True or False

liopardo ha scritto: Conflict is with IC agenda only, and I have no idea where could be that line of code.
Thanks


No, the conflict it the calling of the Google maps api (so only with extension using Google Maps)

If you install an other extension using Google Maps, you will have the same problem.

Do you have a jQuery plugin install ?
Or jQuery params in your template ?

Look to at module extensions (Rok for example...)

You can easier find the problem, by searching "sensor=false" in the folder of your website, on your hard disk.

Keep me inform where you find this expression, in which folder, and which file, so that i will be able to think of a solution ;)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • liopardo
  • Autore della discussione
  • New Member
  • New Member
Di più
11 Anni 11 Mesi fa #2373 da liopardo
Risposta da liopardo al topic API notice: set sensor value True or False
Thanks for you assistance!

Lyr!C ha scritto:
No, the conflict it the calling of the Google maps api (so only with extension using Google Maps)

If you install an other extension using Google Maps, you will have the same problem.


May be that extension that conflicts is phocagallery, but message is only wit IC agenda. I searched the string "sensor=false" and this is the result:


components/com_phocagallery/views/map/tmpl/default.php
components/com_phocagallery/views/categories/default_map.php
components/com_phocagallery/views/category/tmpl/default_geotagging.php
administrator/components/com_phocagallery/views/phpcagalleryg/tmpl/default.php
components/com_icagenda/views/list/view.html.php
administrator/components/com_icagenda/models/fields/modal/coordinate.php
components/com_icagenda/models/fields/modal/coordinate.php

Thanks
Fabio

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 11 Mesi fa #2374 da Lyr!C
Risposta da Lyr!C al topic API notice: set sensor value True or False
Oh, i see...

Have a look to phocagallery code, and they add sensor value to all api google maps...
... via a plugin i think!

I will try to find a way to solve this...

Then, try by removing it in components/com_icagenda/views/list/view.html.php

Replace :
$document->addScript( "http://maps.google.com/maps/api/js?sensor=false" );

by :
$document->addScript( "http://maps.google.com/maps/api/js" );

And tell me if it's working ? (so that, i will check to edit this...)

And can you try too by removing all the line ?

Thanks !

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 11 Mesi fa #2375 da Lyr!C
Risposta da Lyr!C al topic API notice: set sensor value True or False
Which version of Phocagallery do you have installed ?

I have made test with the last, and have no problem.
Do you have install other phoca extensions ?

Thanks for your reply! B)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • liopardo
  • Autore della discussione
  • New Member
  • New Member
Di più
11 Anni 11 Mesi fa #2435 da liopardo
Risposta da liopardo al topic API notice: set sensor value True or False

Lyr!C ha scritto: Which version of Phocagallery do you have installed ?

I have made test with the last, and have no problem.
Do you have install other phoca extensions ?

Thanks for your reply! B)


I'm sorry for long delay on replying, but I had no internet connections available on weekend.
The problem is solved commented out the line. Thanks for your support :)
I use Phocagallery 3.2.2 and one other plugins winth Google API: GMapFP 9.31

On front end the map location isn't still viewed at ffot of details. Is it up to free version?
Look at this

Thanks for your replay.
Fabio

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 11 Mesi fa #2438 da Lyr!C
Risposta da Lyr!C al topic API notice: set sensor value True or False
I will see about GMapFP 9.31...

Have you try by editing the line as i have posted before, or you have removed all the line ?

I wonder if it can works if you just removed "?sensor=false", and not all the line.

Because, with all the remove, no message, but there's now, no loading of the api Google Map...

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • liopardo
  • Autore della discussione
  • New Member
  • New Member
Di più
11 Anni 11 Mesi fa #2441 da liopardo
Risposta da liopardo al topic API notice: set sensor value True or False

Lyr!C ha scritto:
I wonder if it can works if you just removed "?sensor=false", and not all the line.

Because, with all the remove, no message, but there's now, no loading of the api Google Map...


It works without all the line only. And in both two cases map location in front end is not showed, while is present in backend.
Fabio

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.179 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new