13 | | * Default Schema (e.g. default, uk government, others) |
14 | | * Search caching (on/off) |
15 | | * License service URL |
| 11 | {{{ |
| 12 | ## Title of site (using in several places including templates and <title> tag |
| 13 | ckan.site_title = CKAN |
| 14 | |
| 15 | ## Logo image to use (replaces site_title string on front page if defined) |
| 16 | ckan.site_logo = http://assets.okfn.org/p/ckan/img/ckan_logo_box.png |
| 17 | |
| 18 | ## Site tagline / description (used on front page) |
| 19 | ckan.site_description = |
| 20 | |
| 21 | ## Used in creating some absolute urls (such as rss feeds, css files) and |
| 22 | ## dump filenames |
| 23 | ckan.site_url = |
| 24 | |
| 25 | ## Favicon (default is the CKAN software favicon) |
| 26 | ckan.favicon = http://assets.okfn.org/p/ckan/img/ckan.ico |
| 27 | |
| 28 | |
| 29 | ## An 'id' for the site (using, for example, when creating entries in a common search index) |
| 30 | ## If not specified derived from the site_url |
| 31 | # ckan.site_id = ckan.net |
| 32 | |
| 33 | ## API url to use (e.g. in AJAX callbacks) |
| 34 | ## Enable if the API is at a different domain |
| 35 | # ckan.api_url = http://www.ckan.net |
| 36 | |
| 37 | ## html content to be inserted just before </body> tag (e.g. google analytics code) |
| 38 | ## NB: can use html e.g. <strong>blah</strong> |
| 39 | ## NB: can have multiline strings just indent following lines |
| 40 | # ckan.template_footer_end = |
| 41 | }}} |
| 42 | |
| 43 | |
| 44 | NB: these will still need to be stored somewhere for loading on initialization. do this in db init function ... |
| 45 | |
| 46 | === Settings / Options / KeyValues Table === |
| 47 | |
| 48 | Columns: |
| 49 | |
| 50 | * [namespace]: ? only if KeyValues (for settings this would then always be settings) |
| 51 | * key |
| 52 | * label |
| 53 | * value (json) |
| 54 | * type (e.g. date and to specify in advance what type should be) |
| 55 | * description |
| 56 | * tags: ?? (for grouping ...) |
| 57 | |
| 58 | === Loading settings from DB === |
| 59 | |
| 60 | Do this in ckan/config/environment.py |
| 61 | |
| 62 | === WUI === |
| 63 | |
| 64 | * /ckan-admin/settings |
| 65 | * Show label, plus description plus text field |