Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC: Problem of loading jQuery and Google Fonts

Problem of loading jQuery and Google Fonts 1 year 9 months ago #6316

  • imjjss
  • imjjss's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 1
I have difficulties loading pages because my country blocked all google links, so I decide to change to Microsoft CDN for jQuery and host Google Fonts locally.
So far, I located 4 files containing google links:
index.php
properties.php
/modules/decision/edithtml.php
/modules/site/edithtml.php
/modules/xerte/edithtml.php
After replaced the google links with Microsoft links in the 4 files, my browser is still trying to load google's jQuery. Where else should I go to find the rest google links?
Thanks!

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

Last edit: by imjjss.

Problem of loading jQuery and Google Fonts 1 year 9 months ago #6324

  • drlara
  • drlara's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 9
Hi,
It looks like there are several files that are accessing "googleapis.com". I'm attaching a file where you can see the file names and the file lines where Google is used.
By the way, are you located in China? I'll be teaching an online course this fall and I'll have a few Chinese students and it didn't occurred to me that they might have issues using Xerte after reading your question (thanks for posting it!).

Kindly, let me know if you are able to get Xerte to work after replacing the Google links. I've noticed that Xerte tends to cache all content in the browser, so you might want to clear your browser cache or use a different browser after you've finished changing all of the Google links to make sure the web browser is loading the latest changes.
Attachments:
The following user(s) said Thank You: imjjss

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

Problem of loading jQuery and Google Fonts 1 year 9 months ago #6325

  • imjjss
  • imjjss's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 1
Yes, mainland China. If your students are from Hongkong, they might not encounter this issue.
Yes, it works immediately after replacing the links.
By the way, Google Fonts doesn't work in China either. But seems browsers can find replacements automatically. If not, Google Webfonts Helper can be a solution.
The following user(s) said Thank You: drlara

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

Problem of loading jQuery and Google Fonts 1 year 9 months ago #6326

  • drlara
  • drlara's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 9
Thank you for your response. It's great to know that everything works after replacing Google by Microsoft CDN. My students will be in Shanghai so I will need to make the changes too. Thank you for letting me know about Google Webfonts Helper.

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

  • Page:
  • 1
Moderators: ronmjultenjjs
Time to create page: 0.046 seconds
Copyright © 2021 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search