Installing FONTS in joomla

Locked
senjena
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Mar 12, 2007 5:51 am

Installing FONTS in joomla

Post by senjena » Mon Mar 12, 2007 7:13 am

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

User avatar
syahzul
Joomla! Guru
Joomla! Guru
Posts: 537
Joined: Wed May 31, 2006 12:45 pm
Location: Shah Alam
Contact:

Re: Installing FONTS in joomla

Post by syahzul » Mon Mar 12, 2007 8:45 am

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
You do not have the required permissions to view the files attached to this post.
Your problem is not your problem. Your attitude - how you handle your problems - is your problem.

http://www.joomla-my.org :: http://www.syahzul.com

senjena
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Mar 12, 2007 5:51 am

Re: Installing FONTS in joomla

Post by senjena » Wed Mar 14, 2007 7:26 am

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!!!

User avatar
syahzul
Joomla! Guru
Joomla! Guru
Posts: 537
Joined: Wed May 31, 2006 12:45 pm
Location: Shah Alam
Contact:

Re: Installing FONTS in joomla

Post by syahzul » Wed Mar 14, 2007 9:42 am

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...
Your problem is not your problem. Your attitude - how you handle your problems - is your problem.

http://www.joomla-my.org :: http://www.syahzul.com

orubin
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Dec 05, 2008 12:55 am

Re: Installing FONTS in joomla

Post by orubin » Thu Feb 05, 2009 1:34 am

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

newgal
Joomla! Explorer
Joomla! Explorer
Posts: 258
Joined: Wed Oct 11, 2006 6:40 am

Re: Installing FONTS in joomla

Post by newgal » Thu Feb 05, 2009 9:59 am

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/

orubin
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Dec 05, 2008 12:55 am

Re: Installing FONTS in joomla

Post by orubin » Fri Feb 06, 2009 6:26 am

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

User avatar
alexisfo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun May 24, 2009 8:37 am
Contact:

Re: Installing FONTS in joomla

Post by alexisfo » Sun May 24, 2009 11:52 am

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
Alexis Sotir
Please read forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65
imagination.innovation


Locked

Return to “Malaysian Forum”