Settings

Overview

CONTENIDO comes with a lot of settings which can be edited in the backend. This table lists all supported settings with their default values. Settings alow to customize both the backend and the frontend.

This page is still incomplete. Please help us to write a comprehensive CONTENIDO documentation.

How it works

Customizing CONTENIDO is very easy and can be done via system, client, group or user properties.

Explain how to edit system, client, group and user properties.

General settings

General settings can be set as system, client, client-language, group or user properties alike. They are read using the function getEffectiveSetting().

User settings have precendence over group settings, i.e. user settings always override group settings. If a user is added to more than one group, the result is undefined. Make sure that your groups don't override each other. 

Area/TypeNameDescriptionDefault
articlesshow-new-window-checkbox(true, false): If true, show "new window" checkbox for redirects in article properties. Note: If a redirect has been specified, the page is redirected to the new URL using an html page header. As header redirects can't open new windows, this setting is only useful, if a navigation module is used, which mentions the "open in new window" setting and adds a ′target="_blank"′ to the link, if necessary."false"
backendleftframewidthDefines the width of the left frame.245
backendpreferred_idclientID of the client which should be selected after backend loginfalse
backendsort_backend_users_by ""
backendthumbnailmode 100
cacheexcludeidarts false
codemirroractivated 'true'
codemirror*  
cms_date*additional date/time formats, i. e. as mydateformat as name and {"dateFormat":"d.m.Y","timeFormat":"H:i:s"} as value 
cms_filelist_extensions*file extensions 
cms_filelist_style*filelist styles 
cms_teaser*teaser styles 
dateformatfull "Y-m-d H:i:s"
dateformatdate "Y-m-d"
dateformattime "H:i:s"
encodingfile_encodingDefines the encoding for written and read files in the layout handler.UTF-8
frontend.no_outputbufferidart ''
frontenduserspluginsearch(true, false): If true, the frontend users menu also searches trough plugins. However, searching trough plugins have a huge performance impact on the list. If you have a lot of frontend users, set this to false to disable this function.true
frontenduserspluginsearch_valid_pluginsIf pluginsearch is set to true, you can hereby limit the plugins to search over. This property must be a comma-separated list (no whitespaces) of all plugins that should be used for pluginsearch. All other plugins will be skipped to improve performance.""
generatorbasehref(true, false): Defines if Contenido should automatically insert a base href tag.true
generatorhtml5 false
generatorxhtml(true, false): Defines if the tags generated by Contenido should be XHTML compliant. WARNING: This does not alter the HTML code in your layouts and modules! You have to revise your modules and layouts to be XHTML compliant.false
layouthtmlvalidator(true, false): If true, use the HTML validator.true
login_error_pageidartDefines error page for invalid logins''"
login_error_pageidcatDefines error page for invalid logins. The start article will be used as error page''"
login_error_pageidcatartDefines error page for invalid logins. NOT RECOMMENDED VERSION''"
modulesedit-with-tabs(true, false) If set to "true" you can use the <tab> key to insert tabs in the input and output code areas (IE 6/7, FF 1.5/2)."false"
modulesforce-menu-checkIf system/modulecheck is enabled, force module check while module list will be generated (instead of using database information)."false"
modulesshow-debug-rows "never"
navigationidcat-home 1
statsga_accountIf set ...""
statspiwik_siteIf set ...""
statspiwik_urlIf set ...""
systemclickmenuIf set to 'true' ...n/a
systemdelaymenu_mouseover 300
systemdelaymenu_mouseout 1000
systeminsite_editing_activated(true, false): Defines if insite editing is used in article editor. (was: insight_editing_activated)true
systemlanguageorderIf set to "name", languages in the drop-down (top right) will be shown ordered by name, if not specified or set to something else, languages will be ordered by language idname
versioningactivated true
versioningpath  
versioningprune_limit '0'

Password reset settings

These settings apply to the backend user password reset feature.

Area/typeNameDescriptionDefault
pw_requestreset_threshold amount of max password reset requests before a new one for a user can be created 4
pw_requestuser_password_reset_expiration How long a is a new password reset request valid; how much time for new password resets to expire "+4 hour"
pw_requestoutdated_thresholdThreshold value regarding when to consider password reset request to be outdated"-1 day"

Specific settings

Specific settings can be set as system, client, group or user properties. For which entities these settings can be set is documented in the scope column. They are read using the function getSystemProperty() for system settings or the getProperty()-method of the appropriate GenericDB-class.

Scopes: SYS - System, CLI - Client, CLA - ClientLanguage, GRP - Group, USR - User
Area/TypeNameDescriptionDefaultScope
backendbackend_label  

SYS

backendcurrentlogintimeDate and Time when this session has been started (automatically set by the backend)n/aUSR
backendlastlogintimeDate and Time when the last session was started (automatically set by the backend)n/aUSR
backendmax_log_size  SYS
debugdebug_to_fileIf set to 'true' ...n/aSYS
debugdebug_to_screenIf set to 'true' ...n/aSYS
expandstate$uuid  USR
itemsperpage$area  USR
maintenancemode(disabled, enabled): In maintenance mode, only sysadmins are allowed to login into contenido backend.n/aSYS
pluginfrontendgroups-pluginorder  SYS
plugin$entity . '-pluginorder  SYS
plugin$entity . '-lastscantime  SYS
pw_requestenable(true, false): Property definies if contanido is allowed to generate new passwords for backenduser and submits them via mail.trueSYS
statstracking"off"n/aCLI
systemmail_encryption  SYS
systemmail_hostHost which is used for sending system mails (PW-Request).localhostSYS
systemmail_log  SYS
systemmail_pass "" 
systemmail_port  SYS
systemmail_senderSender mail-adress of Contenido Systemmails. (PW-Request).info@contenido.orgSYS
systemmail_sender_nameSender name of Contenido Systemmails. (PW-Request).Contenido BackendSYS
systemmail_user ""SYS
systemmodulecheckif set to "false" (as string), modules aren't tested for syntax errors (needed for older PHP versions)n/aSYS
systemmultiassignIf false, don't allow multi assignments for articles.trueSYS & CLI
systempurge-dirstoexclude-withfiles  SYS
systemupldirlist-dirstoexclude  SYS
updatecheck(true, false): Update checker notifies sysadmins, if there are new updates for contenido on contenido org.falseSYS
updatecheck_period  SYS
updatenews_feed(true, false): Update RSS News notifies sysadmins, about news on contenido org and security issues.falseSYS

TinyMCE settings

Area/TypeNameDescriptionDefaultScope
tinymce*

Starting with Contenido V4.6.16 all TinyMCE settings which may be specified for TinyMCE and the plugins may be specified as system, client, group or user properties. Use the name of the parameter according to the tinyMCE documentation as name ao the setting. These parameters can't be set as setting: document_base_url, file_browser_callback.

n/aSCGU
tinymce_default*  SCGU
tinymce_fullscreen*  SCGU
tinymce_inline*  SCGU
tinymce_mini*  SCGU
tinymce_simple*  SCGU
tinymcecontent_cssDefines the stylesheet to include within tinyMCE.
(<= V4.6.15: wysiwyg/tinymce-stylesheet-file)
 SGU
tinymcetheme_advanced_stylesDefines the available styles in the tinyMCE style dropdown.
(<= V4.6.15: wysiwyg/tinymce-styles)
 SGU
tinymcewidthDefines the width of tinyMCE.
(<= V4.6.15: wysiwyg/tinymce-width)
100%SGU
tinymceheightDefines the height if tinyMCE.
(<= V4.6.15: wysiwyg/tinymce-height)
480pxSGU
tinymcecontenido_height_htmlOverrides the tinyMCE height when editing the CMS_HTML element.
(<= V4.6.15: wysiwyg/tinymce-height-html)
 SGU
tinymcecontenido_height_headOverrides the tinyMCE height when editing the CMS_HTMLHEAD element.
(<= V4.6.15: wysiwyg/tinymce-height-head)
 SGU
tinymcecontenido_gzipIf set to "true" use gzip compression. The server has to provide the compression method."false"SGU
tinymcecontenido_toolbar_modeDefines the tinyMCE toolbar mode (default "full"). Available choices: full, simple, mini, custom.
(<= V4.6.15: wysiwyg/tinymce-toolbar-mode)
 SGU
tinymcetheme_advanced_buttons1
theme_advanced_buttons2
theme_advanced_buttons3
Defines which items should be shown on the first/second/third toolbar. Please have a look at the tinyMCE documentation to find out which items you can use. Only used if the toolbar mode is "custom".
(<= V4.6.15: wysiwyg/tinymce-toolbar1/2/3)
 SGU
tinymcepluginsDefines which plugins should be loaded. Only used if the toolbar mode is "custom".
(<= V4.6.15: wysiwyg/tinymce-plugins)
 SGU
tinymcevalid_elementsDefines which elements are allowed. See tinyMCE documentation for more information.
(<= V4.6.15: wysiwyg/tinymce-valid-elements)

 

SGU
tinymceextended_valid_elementsDefined which elements are allowed. These elements are added to valid_elements.
(<= V4.6.15: wysiwyg/tinymce-extended-valid-elements)
 SGU
tinymcecontenido_background_color

This setting will be removed in version 4.9.7.

Defines the tinyMCE background color (any valid CSS color value can be used). If you use an HTML hex color code, also include the # sign before the color (e.g. #ffffff).

(<= V4.6.15: wysiwyg/tinymce-backgroundcolor)

whiteSGU
tinymceconvert_urls(true, false): Defines, if URLs will be converted (e.g. to relative URLs) at all. Please note, that URLs should be converted (e.g. for the time you may have to change the domain or server path).
(<= V4.6.15: wysiwyg/tinymce-convert-urls)
trueSCGU
tinymcerelative_urls

(true, false): If convert_urls is true, then this setting specifies, if URLs will be converted to relative or absolute URLs. Please note, that relative URLs should be used (e.g. for the time you may have to change the domain or server path).
(<= V4.6.15: wysiwyg/tinymce-relative-urls)

trueSCGU
tinymcecontenido_listsIf specified, adds dropdown lists with links for all articles (Insert Link popup window), images (Insert Image popup window) and/or all media/flash files (Insert Media/Flash popup window). Valid values are: link, image, media, flash. Values have to be separated by a comma, e.g. "link,image". Do not specify, if you have a lot of articles, images and/or media files.
(<= V4.6.15: wysiwyg/tinymce-lists).
 SGU

Style-editor, Script-editor and HTML-editor settings

Area/TypeNameDescriptionDefaultScope
html_editorwrap{on, off} Defines the wrap attribute of the textarea to edit the HTML file.'off'SCGU
script_editorwrap{on, off} Defines the wrap attribute of the textarea to edit the JS file.offSCU
style_editorwrap{on, off} Defines the wrap attribute of the textarea to edit the CSS file. In case of 'on' the lines will be wraped.offSCU

Deprecated settings

These settings were available in former versions of CONTENIDO and are no more supported.

Area/TypeNameDescriptionDefaultScope
backendsmall-navigation(true, false): If true, a small navigation is shown.falseSCGU
cms_imgdirectory-heightHeight of the directory lister in rows5SGU
cms_imgdirectory-widthWidth of the directory lister in pixels300SGU
cms_imgfile-heightHeight of the file lister in rows5SGU
cms_imgfile-widthWidth of the file lister in pixels

300

SGU
cms_imgdescription-heightHeight of the description box in rows5SGU
cms_imgdescription-widthWidth of the description box in characters70SGU
cms_imgpreview-heightHeight of the preview area in pixels400SGU
cms_imgpreview-widthWidth of the preview window in pixels600SGU
edit_areaactivated(true, false): Defines if syntax highlighting editor is used in backend for modul, js, css and html code.trueSCGU
imagemagickavailableSet "1" if ImageMagick is available on your server to receive best results when resizing images SGU
modulesjava-editEnable the java module editor. SGU
modulesdisable-history(true, false) If true, don't use the module history.falseSCGU
modulesstoreasfilesDefines if Contenido should store modules as text files. THIS IS HIGHLY EXPERIMENTAL, ONLY USE IF YOU KNOW WHAT YOU ARE DOING!offS
modulesloadfromfilesDefines if Contenido should load modules as text files. THIS IS HIGHLY EXPERIMENTAL, ONLY USE IF YOU KNOW WHAT YOU ARE DOING!offS