Page 1 of 1
Installing FONTS in joomla
Posted: Mon Mar 12, 2007 7:13 am
by senjena
Hi All,
I would be appreciative if someone could let me know how do I install fonts into Joomla?
Currently I only have times new roman. I would like to install new fonts and also a punjabi font.
Please help.
Thanks,
Senjena
Re: Installing FONTS in joomla
Posted: Mon Mar 12, 2007 8:45 am
by syahzul
try use sIFR,
http://www.mikeindustries.com/sifr/
how to use sIFR with Joomla!, for module title
1) add this code to inside
Code: Select all
<!-- sIFR -->
<link rel="stylesheet" href="<?php echo $mosConfig_live_site . "/templates/" . $cur_template; ?>/sifr/sIFR-screen.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?php echo $mosConfig_live_site . "/templates/" . $cur_template; ?>/sifr/sIFR-print.css" type="text/css" media="print"/>
<script src="<?php echo $mosConfig_live_site . "/templates/" . $cur_template; ?>/sifr/sifr.js" type="text/javascript"></script>
<script src="<?php echo $mosConfig_live_site . "/templates/" . $cur_template; ?>/sifr/sifr-addons.js" type="text/javascript"></script>
<script type="text/javascript">
if(typeof sIFR == "function"){
sIFR.replaceElement(".moduletable h3", named({sFlashSrc: "<?php echo $mosConfig_live_site . "/templates/" . $cur_template; ?>/sifr/marlboro.swf", sColor: "#727272"}));
};
</script>
2) extract sifr.zip (attached) into your template folder.
3) edit sIFR-screen.css
Code: Select all
.sIFR-hasFlash .moduletable h3 {
visibility: hidden;
/* other CSS properties go here */
font-size: 16px;
background: transparent;
padding: 0;
margin: 8px 0 0 0;
}
4) done!
tak paham tanya ek...kene pandai edit sket setting kat <script... dan juga css style
Re: Installing FONTS in joomla
Posted: Wed Mar 14, 2007 7:26 am
by senjena
Hi Syahzul,
I tak berapa faham la. I bukannya techie pulak tu!
Anyway, I dah install JCE. At least sekarang ni, I ada "font family" etc. Tapi the question still remains: How to install new fonts into the JCE family font?
Thanks a zillion!!!
Re: Installing FONTS in joomla
Posted: Wed Mar 14, 2007 9:42 am
by syahzul
kalau nak guna font selain dari arial, verdana, georgia, times, helvetica, courier, maka kene gunakan script lain mcm sIFR tu. dan font yg kita view kat web browser tu dari pc kita, bukan dari website yg kita tgk. paham tak agak2? so if u install font mcm myriad pro kat pc u, pastu buat website guna font tu, kat pc org lain mungkin akan kuar verdana, sbb dia takde myriad pro...
jadi, kita takleh install font kat website sebenarnya. font kita install kat windows. dan kalau nak guna font yg best2 tu kene pakai sIFR la, tu yg aku tau la...
Re: Installing FONTS in joomla
Posted: Thu Feb 05, 2009 1:34 am
by orubin
syahzul wrote:kalau nak guna font selain dari arial, verdana, georgia, times, helvetica, courier, maka kene gunakan script lain mcm sIFR tu. dan font yg kita view kat web browser tu dari pc kita, bukan dari website yg kita tgk. paham tak agak2? so if u install font mcm myriad pro kat pc u, pastu buat website guna font tu, kat pc org lain mungkin akan kuar verdana, sbb dia takde myriad pro...
jadi, kita takleh install font kat website sebenarnya. font kita install kat windows. dan kalau nak guna font yg best2 tu kene pakai sIFR la, tu yg aku tau la...
SIGH. Can you explain this in English this time please? I also want to know how to add new fonts, and so far, you are the only person to answer the question, and I cannot understand the answer.
Also, above you said to install that code "inside" but did not say inside what? Can you give a bit more detail please? I like the idea of this rendered font engine, but cannot follow how to make it work.
Cheers
Re: Installing FONTS in joomla
Posted: Thu Feb 05, 2009 9:59 am
by newgal
orubin wrote:
SIGH. Can you explain this in English this time please? I also want to know how to add new fonts, and so far, you are the only person to answer the question, and I cannot understand the answer.
Also, above you said to install that code "inside" but did not say inside what? Can you give a bit more detail please? I like the idea of this rendered font engine, but cannot follow how to make it work.
Cheers
What he mean is if you wanna used the font that different from arial, verdana, georgia, times, helvetica, courier, which mean the default one..you have to used the sIFR script (see the above attachment or link been given to download the script). The font that we are browsing on the net is actually tru' the pc's font and not the font on the net/website. So let say if u installed font like myriad pro in your pc's the u built your website using that fonts, in other people pc's when they browse you site...they may see other fonts like verdana, cause they did not have that font myriad pro been installed to their pc's. The solution on this case is to installed the scrip sIFR
Second is he showing to installed/add the code on the module title....here another artical you may read and understand which i find while browsing...check it out and hope this will help you out.
http://www.alledia.com/blog/design/how- ... omla-site/
Re: Installing FONTS in joomla
Posted: Fri Feb 06, 2009 6:26 am
by orubin
Thanks. I got the first part of course, the font is not avaialble, and this script renders it for you Yep, understood that. I just dd not understand where I installed it (Still do not) and that was what was confusing.
I will read the article mentioned.
Cheers
Re: Installing FONTS in joomla
Posted: Sun May 24, 2009 11:52 am
by alexisfo
You could give this a try, very simple and good sifr plugin for joomla with many configuration options:
http://club.freakedout.de/jsifr3-and-jsifr3-pro.html
or
http://demo.freakedout.de for a couple of examples
or
http://extensions.joomla.org/extensions/search/1/sifr/
enjoy
alexis