diff options
Diffstat (limited to 'docs/_build/html/configuration.html')
-rw-r--r-- | docs/_build/html/configuration.html | 69 |
1 files changed, 44 insertions, 25 deletions
diff --git a/docs/_build/html/configuration.html b/docs/_build/html/configuration.html index 01ab81f..18966df 100644 --- a/docs/_build/html/configuration.html +++ b/docs/_build/html/configuration.html @@ -26,7 +26,7 @@ <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="Chimère 2.0 documentation" href="index.html" /> - <link rel="next" title="Chimère customisation" href="customisation.html" /> + <link rel="next" title="Administration" href="administration.html" /> <link rel="prev" title="Upgrade" href="upgrade.html" /> </head> <body> @@ -37,7 +37,7 @@ <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > - <a href="customisation.html" title="Chimère customisation" + <a href="administration.html" title="Administration" accesskey="N">next</a> |</li> <li class="right" > <a href="upgrade.html" title="Upgrade" @@ -81,34 +81,49 @@ at the first paragraph of <a class="reference internal" href="administration.htm <p>To access theses pages you have to identify you with an account with <em>staff</em> and <em>superuser</em> status.</p> <p>A <em>superuser</em> account is created at the initialization of the database.</p> +<div class="section" id="configuring-the-sites-framework"> +<h2>Configuring the sites framework<a class="headerlink" href="#configuring-the-sites-framework" title="Permalink to this headline">¶</a></h2> +<p><em>Sites</em> framework allow you to serve the same content on different domains. +Most of you will probably use only one domain but this unique domain has to +be configured. This is done in the web administration interface in <em>Sites > Sites</em> +You only need to change <em>example.com</em> by your domain name. If you forgot to +do that functionality such as RSS feeds will not work properly.</p> +</div> <div class="section" id="managing-areas"> -<h2>Managing areas<a class="headerlink" href="#managing-areas" title="Permalink to this headline">¶</a></h2> +<span id="id1"></span><h2>Managing areas<a class="headerlink" href="#managing-areas" title="Permalink to this headline">¶</a></h2> <p>An <em>Area</em> is the base of your map. It defines:</p> <ul class="simple"> <li>a name: a human readable label for this area.</li> +<li>an associated URN (<em>not mandatory</em>): the name of the area as a web ressource. +In practice, if the area is not the default area the URN is used at the end of +the default URL to access to this area. This is not mandatory but necessary +for each area that is not the default one.</li> <li>a welcome message (<em>not mandatory</em>): this message is displayed once a day per user arriving on the map.</li> -<li>a map bounding box: this is the default area to display when arriving on the -map.</li> -<li>restriction on the bounding box: if set to restricted, the end user can’t pan -outside the defined bounding box.</li> -<li>available layers (<em>not mandatory</em> OSM Mapnik is used by default): OSM Mapnik -render, OSM MapQuest render, OSM Transport Map render, OSM CycleMap are -available by default. You can add new custom layer cf. <em class="xref std std-ref">managing-layers</em>.</li> -<li>categories restriction (<em>not mandatory</em>): if no restriction is set all -categories are available.</li> +<li>an order (to sort areas).</li> +<li>an availability.</li> +<li>a default state. The /default/ area is viewed by default. Only one area can +be the default: activating this state disable it on the possible other area +with a default state.</li> <li>default checked categories (<em>not mandatory</em>).</li> -<li>an external CSS file (<em>not mandatory</em>): an URL to an external CSS file.</li> <li>if categories are displayed dynamically (if dynamically is set, the end user only view categories witch have items on the map section the user currently see).</li> -<li>an associated URN (<em>not mandatory</em>): the name of the area as a web ressource. -In practice, if the area is not the default area the URN is used at the end of -the default URL to access to this area. This is not mandatory but necessary -for each area that is not the default one.</li> +<li>categories restriction (<em>not mandatory</em>): if no restriction is set all +categories are available.</li> +<li>an external CSS file (<em>not mandatory</em>): an URL to an external CSS file.</li> +<li>restriction on the bounding box: if set to restricted, the end user can’t pan +outside the defined bounding box. Due to technical reasons, there is at this +time no restriction on the zoom.</li> +<li>a map bounding box: this is the area to display when arriving on the map. If +the area is restricted it will be the bounding box that restrict the end user. +Hold the control key, click and drag to draw the bounding box.</li> +<li>available layers (<em>not mandatory</em> OSM Mapnik is used by default): OSM Mapnik +render, OSM MapQuest render, OSM Transport Map render, OSM CycleMap are +available by default. You can add new custom layer cf. <a class="reference internal" href="customisation.html#managing-layers"><em>Managing layers</em></a>.</li> </ul> <p><em>Areas</em> are customizable directly on the web administration interface in -<em>Chimere/Areas</em>.</p> +<em>Chimere > Areas</em>.</p> <p>As there is little chance that the default area is appropriate for you, you’ll have to set at least one default area.</p> <p>Adding many area can be a mean to show your map in different flavors.</p> @@ -129,8 +144,8 @@ password):</p> <p>To create a new account, simply click on the Add button near Users. Give a name and a default password (the user can change it on in own later).</p> <p>Then complete the other pieces of information.</p> -<p>Check the case: <em>Staff status</em> (or this user will not be able to log to -the administration website).</p> +<p>Check the case: <em>Staff status</em> (or this user will not be able to log to the +administration website).</p> <p>If this account is a new technical administrator, check <em>Superuser status</em> (this user must be trustworthy!). Otherwise you’ll have to give permissions to this new user. It is easier to don’t add permission manually but make this user @@ -229,16 +244,19 @@ model</em>).</p> <p>The administration page ask you for:</p> <ul class="simple"> <li>a name,</li> -<li>an order (to order between other properties),</li> +<li>an order (to sort properties),</li> <li>an availability to the end user (this can be used to set hidden properties),</li> <li>a mandatory status,</li> <li>the categories the property applied to (if no categories selected it applied to all),</li> <li>the type: text, long text, password or date.</li> </ul> -<p>To make this property available it is necessary to reload your webserver (the +<p>To make this property available it is necessary to reload your web server (the property is cached).</p> <p>All forms are then automatically updated with this new field.</p> +<p>If you don’t want to allow add and modification of properties you can disable +this form by setting CHIMERE_HIDE_PROPERTYMODEL to <em>True</em> in your +<em>local_settings.py</em> file.</p> </div> </div> @@ -251,6 +269,7 @@ property is cached).</p> <h3><a href="index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Configuration</a><ul> +<li><a class="reference internal" href="#configuring-the-sites-framework">Configuring the sites framework</a></li> <li><a class="reference internal" href="#managing-areas">Managing areas</a></li> <li><a class="reference internal" href="#managing-users">Managing users</a></li> <li><a class="reference internal" href="#creating-property-models">Creating property models</a></li> @@ -262,8 +281,8 @@ property is cached).</p> <p class="topless"><a href="upgrade.html" title="previous chapter">Upgrade</a></p> <h4>Next topic</h4> - <p class="topless"><a href="customisation.html" - title="next chapter">Chimère customisation</a></p> + <p class="topless"><a href="administration.html" + title="next chapter">Administration</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/configuration.txt" @@ -293,7 +312,7 @@ property is cached).</p> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > - <a href="customisation.html" title="Chimère customisation" + <a href="administration.html" title="Administration" >next</a> |</li> <li class="right" > <a href="upgrade.html" title="Upgrade" |