Main menu

Forum


× Help Forum English

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

  • liopardo
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 11 mois - il y a 11 ans 11 mois #2352 par 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
Dernière édition: il y a 11 ans 11 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 11 mois #2353 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • liopardo
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 11 mois #2357 par liopardo
Réponse de liopardo sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 11 mois #2362 par Lyr!C
Réponse de Lyr!C sur le sujet API notice: set sensor value True or False

liopardo écrit: 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • liopardo
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 11 mois #2373 par liopardo
Réponse de liopardo sur le sujet API notice: set sensor value True or False
Thanks for you assistance!

Lyr!C écrit:
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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 11 mois #2374 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 11 mois #2375 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • liopardo
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 11 mois #2435 par liopardo
Réponse de liopardo sur le sujet API notice: set sensor value True or False

Lyr!C écrit: 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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 11 mois #2438 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • liopardo
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 11 mois #2441 par liopardo
Réponse de liopardo sur le sujet API notice: set sensor value True or False

Lyr!C écrit:
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

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.122 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new