By Jody Wan on Thursday, 04 December 2014
Posted in Technical Issues
Likes 0
Views 1K
Votes 0
Hi,

<script type="text/javascript" charset="UTF-8" src="http://maps.google.com/maps/api/....."></script>

I would like to know where i could find the code for maps.google.com/maps/api, i would like to modify this if ip location is china to maps.google.cn.

Thank
Hi,

The file is at /media/foundry/4.0/scripts/gmaps.js

And as mentioned to you previously, due to the fact that scripts are compiled, you will have to manually compile the scripts after you've made any changes.
·
Thursday, 04 December 2014 10:53
·
0 Likes
·
0 Votes
·
0 Comments
·
hi,

where can i put the code for include <script defer="" async="" src="..../media/com_easysocial/scripts/easysocial-1.3.13.static.min.js"></script>

thank.
·
Thursday, 04 December 2014 15:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You actually don't need to do that as EasySocial automatically includes this when you are loading EasySocial page.
·
Thursday, 04 December 2014 15:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, i would like to modify so if ip location is china include my custom easysocial-1.3.13.static.min_cn.js else easysocial-1.3.13.static.min.js
·
Thursday, 04 December 2014 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
which all the google api use http://www.google.cn instead of http://www.google.com. beacuse if use login at china wont able to connect any http://www.google.com and cause pending load the page.... i.e pending 3.4mins
·
Thursday, 04 December 2014 16:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

The codes that is attaching the script is at:

/administrator/components/com_easysocial/includes/configuration/configuration.php

In which has a parent class from:

/media/foundry/4.0/joomla/configuration.php
·
Thursday, 04 December 2014 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank i modified work great!
·
Thursday, 04 December 2014 17:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

You're welcome.
·
Thursday, 04 December 2014 18:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post