-
AuthorPosts
-
thatcomputerdude Friend
thatcomputerdude
- Join date:
- December 2008
- Posts:
- 280
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 67
- Thanked:
- 32 times in 1 posts
January 1, 2011 at 6:31 pm #158161What file(s) need to be edited to add more Google Fonts that are listed – http://code.google.com/webfonts
1 user says Thank You to thatcomputerdude for this useful post
thatcomputerdude Friendthatcomputerdude
- Join date:
- December 2008
- Posts:
- 280
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 67
- Thanked:
- 32 times in 1 posts
January 1, 2011 at 6:46 pm #369603Any other file other than /plugins/system/jat3/core/element/gfonts.php
ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ Friendꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀
- Join date:
- April 2008
- Posts:
- 100
- Downloads:
- 9
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 39 times in 32 posts
January 2, 2011 at 4:26 am #369628<em>@thatcomputerdude 212140 wrote:</em><blockquote>Any other file other than /plugins/system/jat3/core/element/gfonts.php</blockquote>
I think you only need to edit that file, especially line 38
[PHP]$gfonts = array(‘Cantarell’,’Coda’, ‘Cardo’, ‘Crimson’, ‘Droid Sans’, ‘Droid Sans Mono’, ‘Droid Serif’, ‘IM Fell’, ‘Inconsolata’, ‘Josefin Sans Std Light’, ‘Lobster’, ‘Molengo’, ‘Nobile’, ‘OFL Sorts Mill Goudy TT’, ‘Old Standard TT’, ‘Reenie Beanie’, ‘Tangerine’, ‘Vollkorn’, ‘Yanone Kaffeesatz’);
[/PHP]
just add your desired font into that array1 user says Thank You to ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ for this useful post
thatcomputerdude Friendthatcomputerdude
- Join date:
- December 2008
- Posts:
- 280
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 67
- Thanked:
- 32 times in 1 posts
January 4, 2011 at 3:29 pm #370034I wasn’t sure if another file needed to be edited for the new choices to show in the Template Manager area under Profiles – where you select the Google font to be used….
nghiatd Friendnghiatd
- Join date:
- October 2009
- Posts:
- 324
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 7
- Thanked:
- 39 times in 37 posts
January 5, 2011 at 4:03 am #370134Hi thatcomputerdude,
If you want to add more Google Fonts.
Please edit variable $gfont_group(default in line 37) in file pluginssystemjat3coreelementgfonts.php
Eg: $gfont_group = array (‘latin’=>array(‘Lobster’));
The font name ‘Lobster’ will be showed in tab Profiles of Template Manager.Best Regards.
carynh Friendcarynh
- Join date:
- January 2011
- Posts:
- 25
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 2 times in 1 posts
January 15, 2011 at 7:50 pm #372012Is there any plan to make this any easier, or is it not intended as an end-user feature?
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
February 7, 2011 at 7:10 am #375297When google release new fonts, we will update the font list to our framework. You should alway keep your framework up to date to have the full list of google fonts.
acac7a Friendacac7a
- Join date:
- January 2011
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
May 24, 2011 at 8:38 am #392624hello,
there are lots of new google Fonts and T3 frameworks is not updated, is planned for soon?Can we not imagine a dynamic list that would be updated via google or JoomlArt automatically?
thanks,
Sly from Acac7a Communication.December 23, 2011 at 4:38 pm #431009The method listed by nghiatd no longer appears to be valid. Can anyone please explain how to add more fonts to the Google Fonts list in the T3 framework?
tphmedia Friendtphmedia
- Join date:
- July 2009
- Posts:
- 139
- Downloads:
- 0
- Uploads:
- 27
- Thanks:
- 17
- Thanked:
- 2 times in 1 posts
December 28, 2011 at 3:38 am #431514This worked perfectly for JA Bistro. with just a few strokes I added Playball and changed Lobster font to Playball.. Easy peasy.
I did have to refresh the site after I added the item to the code. It took a few minutes for my server to update.
December 31, 2011 at 6:26 pm #432036Well I think in the latest version of T3 the only thing you have to do is to search in Google Fonts what font you like to use and then just add it in the pluginssystemjat3base-themesdefaultetcgfonts.xml like you see on it. Then you will be able to see it in the T3 Template Manager and select it.
<font>Slackey</font>
<font>Sunshiney</font>
<font>Unkempt</font>
<font>Walter Turncoat<font>
</group>And I found that there is a mistake in the default code on gfonts.xml at the end that it doesn’t let you add fonts in “latin” group. As you see in the “Walter Turncoat” row (the last one) the font tag is not closed . It is <font> but it should be </font>. It’s something that someone of the Joomlart Team should fix I think.
Anyway that works for me! Try it and let me know. Unless I am too late and you already did it! Trying to help anyway! Have a great new year 2012!
btreynolds1 Friendbtreynolds1
- Join date:
- May 2011
- Posts:
- 51
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
February 15, 2012 at 7:15 am #438386<em>@nawainruk 212180 wrote:</em><blockquote>I think you only need to edit that file, especially line 38
[PHP]$gfonts = array(‘Cantarell’,’Coda’, ‘Cardo’, ‘Crimson’, ‘Droid Sans’, ‘Droid Sans Mono’, ‘Droid Serif’, ‘IM Fell’, ‘Inconsolata’, ‘Josefin Sans Std Light’, ‘Lobster’, ‘Molengo’, ‘Nobile’, ‘OFL Sorts Mill Goudy TT’, ‘Old Standard TT’, ‘Reenie Beanie’, ‘Tangerine’, ‘Vollkorn’, ‘Yanone Kaffeesatz’);
[/PHP]
just add your desired font into that array</blockquote>Where is the reference defined for google fonts ?
Looks like JA team has kept it http:// , while we need to make it https://
Let me know asap.
June 8, 2012 at 3:42 pm #456668to the joomlart-team: when do you update the google fonts in your framework? there are so much google fonts and I can only choose a very limited number of this fonts!
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 15, 2012 at 10:28 am #457578<em>@kinocity 324357 wrote:</em><blockquote>to the joomlart-team: when do you update the google fonts in your framework? there are so much google fonts and I can only choose a very limited number of this fonts!</blockquote>
We no longer add more Google web font in our templates, as this will make the site heavily to load. However, you can simply change the font to what you like by going to the back-end of your website:
Extensions –> Template Manager —> Template Manager: Edit Style
—> Profiles —> Google Font API Settings (you can hover on this tab for more detail)Edit the font in Font family with the Google font name that you like. You can search here for your favorite font (Google Web Fonts: http://www.google.com/webfonts)
🙂 You will get your website with the new font. Enjoy! -
AuthorPosts
This topic contains 14 replies, has 12 voices, and was last updated by Anonymous 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum