How to get rid of installed Google Fonts?

How to get rid of installed Google Fonts? was created by Trester

Posted 5 years 5 months ago #50001
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.
by Trester
Attachments:

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

Replied by ced1870 on topic How to get rid of installed Google Fonts?

Posted 5 years 5 months ago #50004
Hi
is it possible that this is a google font that was installed before the V4 of template creator ?
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by Trester on topic How to get rid of installed Google Fonts?

Posted 5 years 5 months ago #50005
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
by Trester

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

Replied by ced1870 on topic How to get rid of installed Google Fonts?

Posted 5 years 5 months ago #50008
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

Joomlack Webmaster and Developer

by ced1870

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

Replied by Trester on topic How to get rid of installed Google Fonts?

Posted 5 years 5 months ago #50012
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.
by Trester

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

Replied by ced1870 on topic How to get rid of installed Google Fonts?

Posted 5 years 5 months ago #50020
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

Joomlack Webmaster and Developer

by ced1870

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

Time to create page: 0.675 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 273 guests and no members online