Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Removing call for typekit.net


Go to End


5 Posts   577 Views

Avatar
PoppieJim

Community Member, 3 Posts

6 January 2015 at 6:11pm

Every new page contains the following code to start:
<!DOCTYPE html>
<html lang="en">
<head>
<base href="http://www.friendsofthelittleploverriver.org/"><!--[if lte IE 6]></base><![endif]-->
<title>Home &raquo; Friends of the Little Plover River: Education - Conservation - Recreation</title>
<meta name="generator" content="SilverStripe - http://www.silverstripe.com" />
<meta charset="utf-8" />
<meta name="google-site-verification" content="qnlV0WnyzDZaoZOzfvXB-s8zYi13yq2CpOTnj0iQKRk"/><meta name="google-site-verification" content="zJMySo3E9l3nBdsjmbbPBXlb1mPPMIsNjbi0bVZUzRw"/>

<link rel="shortcut icon" href="http://www.friendsofthelittleploverriver.org/favicon.ico" />
<!-- TypeKit.com -->
<script type="text/javascript" src="http://use.typekit.com/.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

Don't have a typekit account and site doesn't use typekit. Call to typekit really slows page loading so I'd like to delete the two line at the end of the saomple but don't know what SilverStripe file I need to go to to remove them.
Help!

Avatar
martimiz

Forum Moderator, 1391 Posts

6 January 2015 at 11:58pm

Looks like your site has the typekit module installed? Uninstalling this module will remove the unwanted javascript.

Avatar
PoppieJim

Community Member, 3 Posts

7 January 2015 at 7:05am

Edited: 07/01/2015 7:06am

OK--But how do I remove the typekit module?

Avatar
martimiz

Forum Moderator, 1391 Posts

7 January 2015 at 7:48am

Edited: 07/01/2015 7:51am

In SilverStripe, modules live in their own folder in the root of the website. So in the root of your website files there should be a folder named silverstripe-typekit (or maybe just typekit).

to uninstall, you can just remove that folder. Be sure you have a backup before doing that.

After that you must perform a yoursite.com/dev/build?flush=1 to update the database and the cache manifest (need to be logged in on the cms to do that).

After that you should be fine, but in some situations, when an error occurs, a yoursite.com?flush=all might be necessary,

Note: replace yoursite.com by the address of your website

Avatar
PoppieJim

Community Member, 3 Posts

10 January 2015 at 12:10pm

The site is called friendsofthelittleploverriver.org. I've attached a screen capture of the roots of that directory (viewed using Filezilla)--don't see any mention of silverstripe-typekit typekit. What am I doing wrong?
Thanks