The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Custom Fonts - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Custom Fonts (/showthread.php?tid=2232)



Custom Fonts - MickeyUK - 2011-09-28

Hi all,
How do I add fonts to the ckeditor? I'm sure it's really simple, but I've tried a few things and nothing works...

Thanks to anyone who can help.


Custom Fonts - sausage - 2011-09-28

Hi. Did you read the wiki?
http://get-simple.info/wiki/how_to:editor_configuration

good luck


Custom Fonts - Connie - 2011-09-28

I use a separate configuration file for CKEditor and how to define that is documented in the wiki

I just tested and defined other fonts in that file:

Code:
CKEDITOR.editorConfig = function( config )
{

....
    config.font_defaultLabel = 'Connie',
    config.font_names = 'Arial/Arial, Helvetica, sans-serif;' +  'Times New Roman/Times New Roman, Times, serif;' +  'Verdana;' + 'Connie';
    config.language = 'de',
    config.contentsLanguage = 'de',
    ......
    };

When testing, I got "Connie" as default fontlabel and Connie was added to the fonts
I will take that off after the test , there is no egomania-font with my name ;=)

And as always: there are some goodies to find in the CKEDITOR docs: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.font_names


Custom Fonts - MickeyUK - 2011-09-29

I've finally fixed the problem...when declaring the font in the CSS, I was using the full url address for the font...shortening the url solved the problem. (Doh)

Thank you both for your help! Smile