Skip to content

Commit

Permalink
Added help descriptions for each of the default settings in Refinery.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 20, 2010
1 parent 764bded commit 04a2f9b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/plugins/refinery/app/views/admin/_head.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%
# Internet Explorer is fine with JS caching, but cache CSS and kaboom.
# Would be great if someone could fix this?
js_caching = RefinerySetting.find_or_set(:use_resource_caching, false)
js_caching = RefinerySetting.find_or_set(:use_resource_caching, true)
css_caching = js_caching && request.env['HTTP_USER_AGENT'] !~ /MSIE/
-%>
<head>
Expand Down
21 changes: 21 additions & 0 deletions vendor/plugins/refinery_settings/config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
en:
admin:
refinery_settings:
help:
activity_show_limit: This limits the number of items that can display in the Dashboard listing.
analytics_page_code: This code activates Google Analytics tracking within your website. If the setting is left blank or set to UA-xxxxxx-x then this is disabled and no remote calls to Google Analytics are made.
image_dialogue_sizes: This setting applies to the Insert Image dialogue. You must implement the different thumbnail sizes as well as changing this.
image_thumbnails: If you modify this setting you will have to regenerate your images by running rake images:regenerate (or rake images:update if you only added more thumbnails) otherwise the setting will not apply to existing images.
menu_hide_children: Hide any subpages from the menu even if they are present.
new_page_parts: Enable adding new page parts (content sections) in the page editors.
page_title: Very complex options for setting the page title. Here you can set custom CSS class or a different tag or tell it to breadcrumb with pages in its ancestry.
page_advanced_options_include_seo: This controls whether the SEO options are displayed in the advanced options for a page.
preferred_image_view: This controls which view the images plugin displays existing images in - grid for 'Grid View' and list for 'List View'. There is a button to automate this process on the images plugin itself.
refinery_enable_backend_reordering: You can remove the ability to reorder the plugins' display order with this.
refinery_menu_cache_action_suffix: This controls the key that is used to cache the site menu. If you are using a theme then it is better to leave this as the default as the theme will handle it.
show_contact_privacy_link: You can hide or show the link to the privacy policy page on the contact form by the submit button.
site_name: This is the name for your website and will display in the header and in the Refinery backend and in the footer copyright statement for some themes.
theme: Enter the name for the theme that you want to be enabled. This will take effect immediately and must correctly identify an existing theme for this to work.
use_google_ajax_libraries: If you want to use Google's AJAX CDN then set this to true.
use_marketable_urls: Changes urls from /pages/about to /about and automatically manages conflicts with other plugins.
use_resource_caching: Recommended to enable this in production mode as it bundles javascript assets and stylesheet assets into single file packages to reduce the number of web requests on your site and speed it up.

0 comments on commit 04a2f9b

Please sign in to comment.