Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: How to get rid of installed Google Fonts?

How to get rid of installed Google Fonts? 09 Nov 2018 13:04 #50001

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi everybody,

I have installed a Google Font and can´t get rid of it.

The template dosen´t find the font (screenshot 01)
But it still exists (screenshot 02) also it is on the list of the fonts (screenshot 03). If I try to deled it there I get the Following Message:
0 Too few arguments to function TemplateckModelFont::delete(), 0 passed in /administrator/components/com_templateck/controllers/font.php on line 100 and exactly 1 expected

Does anybody has a solution for the problem?
I would be very grateful for that.
Attachments:

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

How to get rid of installed Google Fonts? 09 Nov 2018 17:18 #50004

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 20691
  • Karma: 422
  • Thank you received: 2631
Hi
is it possible that this is a google font that was installed before the V4 of template creator ?
CEd

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

Joomlack Webmaster and Developer

How to get rid of installed Google Fonts? 09 Nov 2018 18:11 #50005

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi,

I don´t remeber very well, it should be one of the first 4.
But the same issue I have with a brand new installation. I installed the google font on 4.0.14, now it is 4.0.15 and when I trie to uninstall the font I get the following message
0 Too few arguments to function TemplateckModelFont::delete(), 0 passed in /administrator/components/com_templateck/controllers/font.php on line 100 and exactly 1 expected

Thanx for your help

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

How to get rid of installed Google Fonts? 09 Nov 2018 19:06 #50008

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 20691
  • Karma: 422
  • Thank you received: 2631
ok, just to be sure, if you are trying to uninstall it from the Fonts page, then you are using a fontsquirrel and not a google font
if you check the doc, the google fonts are included into the template directly from the template interface

let me know, or give me the steps to reproduce the issue

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

Joomlack Webmaster and Developer

How to get rid of installed Google Fonts? 09 Nov 2018 19:36 #50012

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Sorry, of course you are right it is a fontsquirrel on the Font page. I was confused. There are three fonts and I would lieke to uninstall on of them.

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

How to get rid of installed Google Fonts? 10 Nov 2018 08:05 #50020

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 20691
  • Karma: 422
  • Thank you received: 2631
ok I have seen the problem in the code :)
you can replace this file
www.dropbox.com/s/zexrq96t420diz3/font.php?dl=0
into
administrator\components\com_templateck\controllers

let me know if this is ok now

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

Joomlack Webmaster and Developer

How to get rid of installed Google Fonts? 10 Nov 2018 08:27 #50024

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Now appears this message
0 Call to a member function get() on null

I hve a second small issue. Even I dont use Google-Fonts this code is part of the sorcecode
<link href=' fonts.googleapis.com/css?family= ' rel='stylesheet' type='text/css'>
Do you know a possibility to delete it?

Thank you for working on Saturday

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

How to get rid of installed Google Fonts? 10 Nov 2018 08:33 #50025

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 20691
  • Karma: 422
  • Thank you received: 2631
sorry, my bad. please test again this file
www.dropbox.com/s/zexrq96t420diz3/font.php?dl=0

for the font in the code, are you sure that it comes from the template ? it could also come from another extension
I ask this because I need to be sure before investigating

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

Joomlack Webmaster and Developer

How to get rid of installed Google Fonts? 10 Nov 2018 09:01 #50026

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
works perfekt now. Thank you.

The google-Code is part of the index.php of the template.
You can take a look at the attachment if ou want.
Maybe it is bekause before I used Googlefonts on the page and yesterday I changed to fontsquirrel. Mybe it is a leftover.
Attachments:

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

How to get rid of installed Google Fonts? 14 Nov 2018 07:48 #50058

  • Trester
  • Trester's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi Ced,

did you take a look at the atatched file? I found that the line of code

<link href = 'https: //fonts.googleapis.com/css? family =' rel = 'stylesheet' type = 'text / css'>

is part of the index.php of the template, even with brand new template installations in the source code, where a Google font never was integrated.

Because of the European Data Protection Basic Regulation, it would be important that the code disappears.

I really hope you can help me.

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

  • Page:
  • 1
  • 2
Time to create page: 0.217 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 552 guests and one member online