SP Page Builder - Google Font - GDPR - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SP Page Builder - Google Font - GDPR

RG

Roland Grillenberger

SP Page Builder 3 years ago

Hello,

in the file \components\comsppagebuilder\layouts\addon\selector.php starting at about line 34, there is the following code:

if(!in_array($font, $system)) { $google_font = '//fonts.googleapis.com/css?family=' . str_replace(' ', '+', $option['font']) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&display=swap'; JFactory::getDocument()->addStylesheet($google_font); }

Here, a font is loaded from the Google server. This contradicts the GDPR. I have to delete this code after each update. Is there no way to delete this code in the first place?

Thank you and best regards,

Roland

0
6 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #51550

Hi Roland,

I remember this topic/request. Indeed, I have to talk with the developer again about this. I know that in the EU we have be twice careful with all external services (links), especially from Google, FB etc.

0
marvays
marvays
Accepted Answer
3 years ago #52821

Hello. I also intercede. I would like to be able to load Google Fonts and FontAwesome from my FTP. Please. Please. Please.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #52822

I think in the EU we should have our own Fonts library to reduce GDPR problems, don't you think. Why everything "good" must be only from the USA.


  1. But FontAwesome are loaded locally from template folder already, I guessyou forgot to check it.
  2. Google Fonts you can use from your server as well, just watch youtube tutorials. Quite Easy.
0
marvays
marvays
Accepted Answer
3 years ago #52824

Thank you for the admonition :)

0
marvays
marvays
Accepted Answer
3 years ago #53475

Font Awesome I found two settings. One in SP Pagebuilder. The second in the Helix Ultimate settings. But I don't see an icon file anywhere on ftp. CSS only. I did not find any information in the documentation on how to upload Font Awesome to FTP.

Google Fonts I can only enter the Google Font API in the helix ultimate> Advanced settings. In the helix ultimate> Typography settings I can only choose from two variants (system fonts and google fonts). Nowhere do I see a mention of the ability to load custom fonts from FTP. On FTP I see templates/shaper_helixultimate/webfonts but I can't find anywhere if I can and how I can use it :(

I suggest adding more options around this in the next update. I would like to load fonts from ftp and icons as well. You can also include the project https://icofont.com

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #53506

About FontAwesome it's very easy to find & get access, just check those files and folders:

  1. templates\shaper_helixultimate\css\font-awesome.min.css
  2. templates\shaper_helixultimate\fonts (all FA files)

About Custom Font - we have text guide, but there is also my video on youtube.

Find "How to use a custom font(s)" here: https://www.joomshaper.com/documentation/helix-framework/helixultimate/faq-how-to-do

below this guide there is 2nd useful guide "How to use Google Fonts from my server"

0