The Joomla! Forum ™






Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Mar 12, 2007 7:13 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Mar 12, 2007 5:51 am
Posts: 5
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


Top
 Profile  
 
PostPosted: Mon Mar 12, 2007 8:45 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Wed May 31, 2006 12:45 pm
Posts: 537
Location: Shah Alam
try use sIFR, http://www.mikeindustries.com/sifr/

how to use sIFR with Joomla!, for module title

1) add this code to inside
Code:
<!-- 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:
.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

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


Top
 Profile  
 
PostPosted: Wed Mar 14, 2007 7:26 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Mar 12, 2007 5:51 am
Posts: 5
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!!!


Top
 Profile  
 
PostPosted: Wed Mar 14, 2007 9:42 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Wed May 31, 2006 12:45 pm
Posts: 537
Location: Shah Alam
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


Top
 Profile  
 
PostPosted: Thu Feb 05, 2009 1:34 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Dec 05, 2008 12:55 am
Posts: 13
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


Top
 Profile  
 
PostPosted: Thu Feb 05, 2009 9:59 am 
Joomla! Explorer
Joomla! Explorer

Joined: Wed Oct 11, 2006 6:40 am
Posts: 258
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/


Top
 Profile  
 
PostPosted: Fri Feb 06, 2009 6:26 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Dec 05, 2008 12:55 am
Posts: 13
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


Top
 Profile  
 
PostPosted: Sun May 24, 2009 11:52 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun May 24, 2009 8:37 am
Posts: 15
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: viewtopic.php?t=65
imagination.innovation


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



Who is online

Users browsing this forum: No registered users and 6 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