Main menu

Forum


× Help Forum English

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

  • liopardo
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago - 11 years 3 months ago #2352 by 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
Last edit: 11 years 3 months ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #2353 by Lyr!C
Replied by Lyr!C on 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.3
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 Attachment:

Please Log in or Create an account to join the conversation.

  • liopardo
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #2357 by liopardo
Replied by liopardo on 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

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #2362 by Lyr!C
Replied by Lyr!C on topic API notice: set sensor value True or False

liopardo wrote: 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.3
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 Attachment:

Please Log in or Create an account to join the conversation.

  • liopardo
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #2373 by liopardo
Replied by liopardo on topic API notice: set sensor value True or False
Thanks for you assistance!

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

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #2374 by Lyr!C
Replied by Lyr!C on 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.3
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 Attachment:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #2375 by Lyr!C
Replied by Lyr!C on 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.3
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 Attachment:

Please Log in or Create an account to join the conversation.

  • liopardo
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #2435 by liopardo
Replied by liopardo on topic API notice: set sensor value True or False

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

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 3 months ago #2438 by Lyr!C
Replied by Lyr!C on 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.3
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 Attachment:

Please Log in or Create an account to join the conversation.

  • liopardo
  • Topic Author
  • New Member
  • New Member
More
11 years 3 months ago #2441 by liopardo
Replied by liopardo on topic API notice: set sensor value True or False

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

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.206 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new