View Full Version : adding font names. how?
staffurdu
03-01-2011, 03:56 AM
hello, please see following image:
http://i841.photobucket.com/albums/zz338/mujahidtaban/Temporary/7a34be4d.png
OldSchoolDSL
03-05-2011, 11:06 PM
bump.
I'd like to know this too. The only way I know how is using Google Fonts, but that's off site. I'd like to know how to keep this local.
staffurdu
03-08-2011, 12:15 PM
So, I assume no one knows about it?
tonyvh2
03-09-2011, 08:45 AM
This is defined in template "editor_jsoptions_font" but when you search for it in AdminCP -> search in templates you wont find it?
So, the only way seems to be to edit it in the database, in table "template". Where title = editor_jsoptions_font. The fonts are defined in fields "template" and "template_un" . Just put your font on a new row.
The contents in the standard installation for fields "template"and "template_un" are:
$final_rendered = 'Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana ';
and
Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana
staffurdu
03-09-2011, 10:43 AM
This is defined in template "editor_jsoptions_font" but when you search for it in AdminCP -> search in templates you wont find it?
So, the only way seems to be to edit it in the database, in table "template". Where title = editor_jsoptions_font. The fonts are defined in fields "template" and "template_un" . Just put your font on a new row.
The contents in the standard installation for fields "template"and "template_un" are:
$final_rendered = 'Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana ';and
Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana
vb_template - phpMyAdmin 3.3.9_1299674509586.jpg (https://vborg.vbsupport.ru/attachment.php?attachmentid=127294&stc=1&d=1299674568)
plz see img
which one i will have to edit. i dont understand.
tonyvh2
03-09-2011, 11:03 AM
Click on SQL in menu above,
then paste this:
SELECT * FROM template WHERE title = 'editor_jsoptions_font';
Then edit "the fields "template" and "template_un"
for example if I want to add the font "Helvetica Neue" this will be the value of the field "template":
$final_rendered = 'Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Lucida Sans Unicode
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Trebuchet MS
Verdana
Helvetica Neue ';
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.