MojoMojo Preferences
MojoMojo has a number of things that can be set in the preference system. If values are not set in database, they are get from mojomojo.conf, or default varues are taken.
admins
Login names of admin users. Default value is 'admin'.
name
Site name. Default value is 'MojoMojo'.
main_formatter
This chooses which formatter is to be used as the main text formatter. The two options so far is 'MojoMojo::Formatter::Textile' and 'MojoMojo::Formatter::Markdown'. Default value is 'MojoMojo::Formatter::Textile'.
open_registration
This option allows you to control whether user registration is available or not. Default is false.
anonymous_user
If set, users are allowed to post anonymously, and the edit will be shown with the username set in this option.
restricted_user
If set, to a true value, normal users are restricted to editing pages inside their user space. Admin users can edit the entire site. Default is false.
enforce_login
If set to a true value, users are forced to login. Default value is false.
check_permission_on_view
If set to a true value, permissions to view are checked on view and search. Default value is false.
create_allowed, delete_allowed, edit_allowed, view_allowed, attachment_allowed
If values are set to true, permissions are checked for create, delete, edit, view, attachments. Default values are true.
entropy
Random string used to generate secret keys for mail verification and such.
disable_search
Set this to a true value to disable the internal search function. Will fall back to try site search using Google. Default is false.
use_captcha
Set this to a true value to enable captcha for registration new users and edits by anonymous. Default value is false.
theme
Name of the theme. Default value is 'default'.
cache_permission_data
If set to a true value, permissions are cached. Default is set to true.
default_lang
Set default language for internationalization. Currently supported values are (default value is "en"):
"en" for english
"de" for german
"fr" for french
"ja" for japan
"no" for norwegian
"ca" for catalan
"es" for spanish
"pl" for polish