Gossamer Forum
Home : Products : Links 2.0 : Customization :

Standard Font

Quote Reply
Standard Font
I am setting up the Links 2.0 and looking for a place to setup a Standard Font do I need to setup a font for each page??

HELP PLEASE

------------------
Best Regards
Danny de Hek www.danny.co.nz/danny.html (Diary) www.scripts.co.nz/diary

New Zealand's Information Network www.newzealandnz.co.nz
PenPals Club www.penpals.co.nz
Electronic Postcard www.scripts.co.nz/postcards

Email: danny@danny.co.nz Ph +64 3 36 55652 Cellular: 025 961 652 Office fax: +64 3 351 4652 Mobile Fax: 08 326 1095

Snail mail: P O Box 2275 Christchurch New Zealand

CAUTION: This communication is confidential and may be legally privileged or subject to copyright. If it is not addressed to you, please immediately contact us at our cost and do not use, disclose, copy, distribute or retain any of it without our authority.

Quote Reply
Re: Standard Font In reply to
Some suggestions:

1) Edit the .css file, if you want to use it for common fonts.

2) Create global font variables in the site_html_templates.pl file, like the following:

Code:
$font = 'font face="Verdana" size="2"';

Then add the following global variable in the %globals hash:

Code:
font => $font,

Then add the following tag in your template files:

Code:
<%font%>

3) Download one of the Custom Template files in the Resource Center that comes with custom fonts, like the Yahoo template.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums


[This message has been edited by AnthroRules (edited February 25, 2000).]
Quote Reply
Re: Standard Font In reply to
2) Create global font variables in the site_html_templates.pl file, like the following:


code:
--------------------------------------------------------------------------------

$font = 'font face="Verdana" size="2"';

--------------------------------------------------------------------------------

WERE??? do I add this code on the same page? and were on the page? (thanks)

Then add the following global variable in the %globals hash:


code:
--------------------------------------------------------------------------------

font => $font,

--------------------------------------------------------------------------------

Then add the following tag in your template files:


code:
--------------------------------------------------------------------------------

<%font%>

--------------------------------------------------------------------------------

3) Download one of the Custom Template files in the Resource Center that comes with custom fonts, like the Yahoo template.

I could not find the address??

Thank you for you help


------------------
Best Regards
Danny de Hek www.danny.co.nz/danny.html (Diary) www.scripts.co.nz/diary

New Zealand's Information Network www.newzealandnz.co.nz
PenPals Club www.penpals.co.nz
Electronic Postcard www.scripts.co.nz/postcards

Email: danny@danny.co.nz Ph +64 3 36 55652 Cellular: 025 961 652 Office fax: +64 3 351 4652 Mobile Fax: 08 326 1095

Snail mail: P O Box 2275 Christchurch New Zealand

CAUTION: This communication is confidential and may be legally privileged or subject to copyright. If it is not addressed to you, please immediately contact us at our cost and do not use, disclose, copy, distribute or retain any of it without our authority.

Quote Reply
Re: Standard Font In reply to
 
Quote:
WERE??? do I add this code on the same page? and were on the page?[/code]
YOU put the codes at the TOP of the file before the %global hash section.

Quote:
I could not find the address??

WHAT do you mean you can't find the "address"?

1 - CLICK on the RESOURCE CENTER link at the top of the forum's home page located in the upper left side of the page!

2 - CLICK on LINKS

3 - CLICK on TEMPLATES.

Voila! There are your template files that you can download!!!!!!!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Standard Font In reply to
That did not work ;(

when I added <%font%>

it cam up with?

$font = 'font face="Verdana" size="2"';

HELP

Quote Reply
Re: Standard Font In reply to
Uh...You have to define the tag AS I STATED IN MY EARLY REPLY, like the following in the %globals section:

Code:
font => $font,

Read my earlier REPLY more carefully!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Standard Font In reply to
I did!

code:
--------------------------------------------------------------------------------

font => $font,

in the site_html_templates.pl file
Quote Reply
Re: Standard Font In reply to
Again, the following codes:

Code:
$font = 'font face="Verdana" size="2"';

NEED to go BEFORE the %global section in your site_html_templates.pl. I have it working in my site.

If these codes don't work, then try the following:

Code:
$font = qq|<font face="Verdana" size="2">|;

This SHOULD work.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Standard Font In reply to
Do it need to add a line to the link.cfg?
Quote Reply
Re: Standard Font In reply to
Maybe I do not under this..

Edit the .css file, if you want to use it for common fonts.

is the .css were? link.cfg ?
Quote Reply
Re: Standard Font In reply to
OK we got it working!!! Thank you Wink))

the dd| did the thick Wink
Quote Reply
Re: Standard Font In reply to
Good.

And BTW: The global variables in the site_html_templates.pl are different than the values defined in the .css file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Standard Font In reply to
Back again

the Categories: how do you do the fonts on them??
they are big !! see www.newzealandsearch.co.nz




------------------
Best Regards
Danny de Hek www.danny.co.nz/danny.html (Diary) www.scripts.co.nz/diary

New Zealand's Information Network www.newzealandnz.co.nz
PenPals Club www.penpals.co.nz
Electronic Postcard www.scripts.co.nz/postcards

Email: danny@danny.co.nz Ph +64 3 36 55652 Cellular: 025 961 652 Office fax: +64 3 351 4652 Mobile Fax: 08 326 1095

Snail mail: P O Box 2275 Christchurch New Zealand

CAUTION: This communication is confidential and may be legally privileged or subject to copyright. If it is not addressed to you, please immediately contact us at our cost and do not use, disclose, copy, distribute or retain any of it without our authority.

Quote Reply
Re: Standard Font In reply to
As mentioned numerous times in this Forum and also there is a FAQ that discusses how to edit the category layout in the Resource Center....

You edit the HTML codes in the sub site_html_print_cat routine in the site_html_templates.pl file. Look for the HTML font codes near $category_clean.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums