Comparing version 9 and version 8
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:All configuration values (the part after the '=') must be strings or booleans (if the key ends in a question mark). h2. @admin.title@ The title that will be displayed in the top-left of the administration interface. The default is "Radiant CMS". h2. @admin.subtitle@ The line underneath the title in the administration interface. The default is "Publishing for Small Teams". h2. @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". h2. @default.page.status@ The status that new pages will have by default. The default is "Draft". Other valid options are "Published", "Reviewed", "Hidden". h2. @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. h2. @local.timezone@ "Rails Timezone":http://api.rubyonrails.org/classes/TimeZone.html 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):Radiant::Config['dev.host'] = 'preview.mydomain.com'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
