Sign In
Start Page | Recent Changes | All Pages | Orphan Pages | Junebug Help

Additional Configuration Options

Radiant provides a few extra customization options through the Radiant::Config object. These can be set in config/environment.rb after the initialization block or in your own extensions. For example, to set the ‘dev.host’ setting, I would write:

Radiant::Config['dev.host'] = 'preview.mydomain.com'

All configuration values (the part after the ’=’) must be strings or booleans (if the key ends in a question mark).

admin.title

The title that will be displayed in the top-left of the administration interface. The default is “Radiant CMS”.

admin.subtitle

The line underneath the title in the administration interface. The default is “Publishing for Small Teams”.

default.page.parts

A comma separated list of page-parts (tabs) that will be available by default on new pages. The default is “body, extended”.

default.page.status

The status that new pages will have by default. The default is “Draft”. Other valid options are “Published”, “Reviewed”, “Hidden”.

dev.host

Provide an alternate ‘dev’ host, or a hostname where you can preview pages that are unpublished. With this option unset or blank, Radiant will match any hostname that starts with ‘dev’ as a ‘dev’ host. With the option set, only the hostname set in the option will be matched.

local.timezone

Rails Timezone provides details on the TimeZone implementation.

If you wish dates and times to be displayed in a timezone other than UTC, set this option to one of the following values (as a string, of course):

International Date Line West
Midway Island
Samoa
Hawaii
Alaska
Pacific Time (US & Canada)
Tijuana
Arizona
Chihuahua
Mazatlan
Mountain Time (US & Canada)
Central America
Central Time (US & Canada)
Guadalajara
Mexico City
Monterrey
Saskatchewan
Bogota
Eastern Time (US & Canada)
Indiana (East)
Lima
Quito
Atlantic Time (Canada)
Caracas
La Paz
Santiago
Newfoundland
Brasilia
Buenos Aires
Georgetown
Greenland
Mid-Atlantic
Azores
Cape Verde Is.
Casablanca
Dublin
Edinburgh
Lisbon
London
Monrovia
Amsterdam
Belgrade
Berlin
Bern
Bratislava
Brussels
Budapest
Copenhagen
Ljubljana
Madrid
Paris
Prague
Rome
Sarajevo
Skopje
Stockholm
Vienna
Warsaw
West Central Africa
Zagreb
Athens
Bucharest
Cairo
Harare
Helsinki
Istanbul
Jerusalem
Kyev
Minsk
Pretoria
Riga
Sofia
Tallinn
Vilnius
Baghdad
Kuwait
Moscow
Nairobi
Riyadh
St. Petersburg
Volgograd
Tehran
Abu Dhabi
Baku
Muscat
Tbilisi
Yerevan
Kabul
Ekaterinburg
Islamabad
Karachi
Tashkent
Chennai
Kolkata
Mumbai
New Delhi
Kathmandu
Almaty
Astana
Dhaka
Novosibirsk
Sri Jayawardenepura
Rangoon
Bangkok
Hanoi
Jakarta
Krasnoyarsk
Beijing
Chongqing
Hong Kong
Irkutsk
Kuala Lumpur
Perth
Singapore
Taipei
Ulaan Bataar
Urumqi
Osaka
Sapporo
Seoul
Tokyo
Yakutsk
Adelaide
Darwin
Brisbane
Canberra
Guam
Hobart
Melbourne
Port Moresby
Sydney
Vladivostok
Magadan
New Caledonia
Solomon Is.
Auckland
Fiji
Kamchatka
Marshall Is.
Wellington
Nuku'alofa

Version 6 | Other versions: « older newer » current versions
Page last edited by dalileia on December 01, 2008 11:50 AM (diff)