The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Use Google web fonts...
PostPosted: Tue Dec 13, 2011 1:35 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Jul 10, 2007 1:24 pm
Posts: 317
Location: Banja Luka, Republic of Srpska
Hi,

I need some tips how to integrate Google web fonts http://www.google.com/webfonts#HomePlace:home into my Joomla.

I try to do as google says but every time something was wrong.

Also tried couple of plugins, like Pocha..., still nothing.

I am using JoomFish for 2 languages, one of them is Cyrillic and second is Latin with "ć, č, ž, š" characters.

Thanks.


Top
 Profile  
 
PostPosted: Tue Dec 13, 2011 9:06 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Jul 10, 2007 1:24 pm
Posts: 317
Location: Banja Luka, Republic of Srpska
Anyone???


Top
 Profile  
 
PostPosted: Tue Dec 13, 2011 9:29 pm 
Joomla! Hero
Joomla! Hero

Joined: Sat Aug 29, 2009 3:08 am
Posts: 2306
Location: Akron PA
Where are you adding the Google script? Do you have a url we can see?

_________________
http://alsweb.aembz.us


Top
 Profile  
 
PostPosted: Tue Dec 13, 2011 9:30 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Online

Joined: Fri Aug 12, 2005 7:19 am
Posts: 9317
Location: Leeds, UK
If the problem is that the google font is working just not for ALL the characters then you should check that the google fonts you use actually support those characters

_________________
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Top
 Profile  
 
PostPosted: Wed Dec 14, 2011 8:00 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Jul 10, 2007 1:24 pm
Posts: 317
Location: Banja Luka, Republic of Srpska
Yes, I find google font that supports all of these fonts, the question is how to integrate this in my joomla web site?


Top
 Profile  
 
PostPosted: Wed Dec 14, 2011 9:28 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Online

Joined: Fri Aug 12, 2005 7:19 am
Posts: 9317
Location: Leeds, UK
You can either use one of the many extensions available (http://extensions.joomla.org/extensions ... typography) to help you OR


1. Go to http://www.google.com/webfonts and select font that you like.

2. Click Quick Use link in the font's box. Select styles (bold, italic) and character sets (latin, cyrillic) that you need. More options selected make the font's package bigger and slower for downloading. Make sure you selected only the options that you really need.

3. On the same page, you will find a code snippet that you should paste in the head section of your webpage (between <head> and </head>) where you'd like to use the font. If you need it for a Joomla template, you should paste the code in template's index.php file in the head section.

4.You can now use the font in your CSS stylesheets as if it was a regular font

_________________
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 8:09 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 29, 2012 5:18 am
Posts: 8
Location: Visakhapatnam,India
hello brian!
I think its not index.php in the template.Its index.html.Please search index.html and paste the google link in between head tags. Head tags must be added by you in index.html page.This will be occured mostly in case of jat3 templates.


Last edited by f9tech on Mon Jun 11, 2012 12:43 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 8:15 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Online

Joined: Fri Aug 12, 2005 7:19 am
Posts: 9317
Location: Leeds, UK
f9tech your answer is so wrong I wonder if you have ever used joomla

_________________
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 12:53 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 29, 2012 5:18 am
Posts: 8
Location: Visakhapatnam,India
Sorry brian! I am learning joomla.. i found two files named "index.php","index.html" in jat3 template folder.I didn't find any html tags in index.php file but i found html tags in index.html file.So i inserted head tags wrote google link.It works fine.I am attaching index.php and index.html..

Please correct me if i am wrong.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Mon Jun 11, 2012 1:29 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Online

Joined: Fri Aug 12, 2005 7:19 am
Posts: 9317
Location: Leeds, UK
It would be a miracle if it worked by using the index.html as they are not used by joomla but are there for a security reason to prevent directory listing.

_________________
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Top
 Profile  
 
PostPosted: Tue Jun 12, 2012 4:59 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue May 29, 2012 5:18 am
Posts: 8
Location: Visakhapatnam,India
hmmmm... k.. i didn't find any html tags in index.php.So can you please tell me? where should i include in index.php file? i included in index.html. Its working fine but tell me if i am wrong...

Thank you brian for replying me... ;D


Top
 Profile  
 
PostPosted: Fri Jul 06, 2012 5:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jul 02, 2012 8:43 am
Posts: 5
You probably didn't look in the right place .. my index.php has HTML tags .. including the HEAD tag .. version 2.5.6 .... the index.html files are purely security, nothing more ..

Not sure which HTML files you added to, but if you have that font on your system, in the windows/fonts folder, then remove it and see if you can still see the font on the webpage .. sounds more like you are seeing it because the font actually exists on your computer, in a font folder or system folder....removal of the font from that folder (temporarily) is a common test to see if you can actually see the font via the website or if it is from your system...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group