User Tools

Site Tools


how_to:editor_configuration

Advanced Editor Configuration

If you want to configure your editor even more, there are options within gsconfig.php that allow you to do some of the following:

These options will be described in the following chapters.

Editor - Language

The default language for the editor is english. This is defined in the configuration file gsconfig.php:

# WYSIWYG editor language (default en)
define('GSEDITORLANG', 'en');

GetSimple ships with very few additional CKEditor languages.
If you need something other than the couple that are included, download the latest CKEditor package, and extract the language file from the zip file's /ckeditor/lang folder and copy it to this folder within your own installation: /admin/template/js/ckeditor/lang

If you want to use your language with the editor, check whether there is a language file in the above named directory. If so, edit the configuration. For german language, you would define:

# WYSIWYG editor language (default en)
define('GSEDITORLANG', 'de');

and re-upload the edited file to your GetSimple-installation.

Editor Height

This setting will define the height of the editor-area. It is defined in pixels.

The standard height of the editor area is 500 pixels. If you need another size (because your monitor is too small or large enough for a higher area, enter a different value here.

# WYSIWYG editor height (default 500)
#define('GSEDITORHEIGHT', '400');

Let's say you own one of these modern very big screens:
Open the file gsconfig.php and find these lines, add the desired value, save it and re-upload gsconfig.php to your server:

# WYSIWYG editor height (default 500)
define('GSEDITORHEIGHT', '1200');
how_to/editor_configuration.txt · Last modified: 2015/01/08 18:00 by gordan