sourCEntral - mobile manpages

pdf

MojoMojo::Prefs

NAME

MojoMojo::Prefs − info on MojoMojo configurable preferences

MojoMojo has a number of preferences that can be set in "Site settings" ("/.admin"). If values are not set in the database, they are read from mojomojo.conf, or default values are used.

admins
Login names of users with admin privileges.

Default: ’admin’.

name
Site name.

Default: ’MojoMojo’.

main_formatter
Specify which formatter to use as the main text formatter. The two options so far ares Markdown and Textile, with Markdown being default thanks to its versatility. For a comparison between the two, see <http://mojomojo.org/documentation/cheatsheet>.

open_registration
Controld whether user registration is available.

Default: 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 (the subpages of "/username"). Admin users can edit the entire site.

Default: false.

enforce_login
If set, users are forced to login before performing any action.

Default: false.

check_permission_on_view
If set, permissions to view are checked on view and search.

Default: is false.

create_allowed, delete_allowed, edit_allowed, view_allowed, attachment_allowed
If true, anonymous users can create, delete, edit, view, and manipulate attachments, respectively.

Defaults: true.

entropy
Random string used to generate secret keys for mail verification and such.

disable_search
If set, will use Google for site search. Currently highly recommended because KinoSearch consumes 100% CPU (see <http://github.com/marcusramberg/mojomojo/issues#issue/32>).

use_captcha
Control CAPTCHA for new user registration and anonymous edits.

Default: false.

theme
Name of the active theme.

Default: ’default’.

cache_permission_data
If set, permissions are cached.

Default: true.

default_lang
Set the default language used for:

roles and the ’admin’ username when creating the database

whenever no language is set via the UI and one is needed to display site text and navigation links, configure CAPTCHA, output language-specific plugin text etc.

Currently supported values are:

"en" − English

"de" − German

"fr" − French

"ja" − Japanese

"no" − Norwegian

"ca" − Catalan

"es" − Spanish

"pl" − Polish

"ru" − Russian

Default: "en"

pdf