diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-04-14 17:09:52 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-04-23 17:19:40 +0100 |
commit | 66424841a6adb90dd652bea67bd2cf5d88d7bd90 (patch) | |
tree | cdeef2c363834b69ea8375f7cb8c9260844f1905 | |
parent | 796f6737144f147069474fd86f68b3a49ddda1fb (diff) |
Add some explanation of the new ENABLE_WIDGETS config var.
-rw-r--r-- | docs/customising/config.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/customising/config.md b/docs/customising/config.md index 139941926..31a046925 100644 --- a/docs/customising/config.md +++ b/docs/customising/config.md @@ -111,6 +111,7 @@ indentation correct. If in doubt, look at the examples already in the file, and <br> <code><a href="#override_all_public_body_request_emails">OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILS</a></code> <br> <code><a href="#allow_batch_requests">ALLOW_BATCH_REQUESTS</a></code> <br> <code><a href="#public_body_list_fallback_to_default_locale">PUBLIC_BODY_LIST_FALLBACK_TO_DEFAULT_LOCALE</a></code> +<br> <code><a href="#enable_widgets">ENABLE_WIDGETS</a></code> ### External public services: @@ -994,6 +995,22 @@ SHARED_DIRECTORIES: </dd> <dt> + <a name="enable_widgets"><code>ENABLE_WIDGETS</code></a> + </dt> + <dd> + If you would like to give users the opportunity to insert HTML 'widgets' into their other websites, advertising the + requests they've made in Alaveteli, set this to true. A link to add a widget will appear in the sidebar of each request page. Users following the link can preview the widget for that request, and cut and paste the HTML to produce the widget into their own site. + <div class="more-info"> + <p>Example:</p> + <ul class="examples"> + <li> + <code>ENABLE_WIDGETS: false</code> + </li> + </ul> + </div> + </dd> + + <dt> <a name="blog_feed"><code>BLOG_FEED</code></a> </dt> <dd> |