User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:optinal_settings [2015/05/23 14:59]
en:optinal_settings [2015/05/23 15:00] (current)
Line 1: Line 1:
 +====== Install the Leuven-Template step 4 of 7  ======
 +<WRAP tabs>
 +  * [[how_to_install|1]]
 +  * [[folder_contents|2]]
 +  * [[test_program|3]]
 +  * [[settings|Manually change the settings files]]
 +  * [[upload|5]]
 +  * [[menu|6]]
 +  * [[how_to_install7|7]]
 +<WRAP important>​Only change the text in the line itself if you are instructed to do so.\\ In a lot of cases, just add a comment mark, or remove one.</​WRAP>​
 +<WRAP tabs>
 +  * [[settings|Introduction]]
 +  * [[check these first|Check these first]]
 +  * [[check these also|Check these also]]
 +  * [[forecast settings|Forecasts]]
 +  * **[[optinal settings|You are here]]**
 +After the mandatory settings you could now (or later) move through all the settings in ** wsUserSettings.php** and check all lines with #####, just to make sure if a change is needed in your case.  Maybe you even find some  lines to change without a ##### marking.
 +===== Which settings can be changed by the visitor =====
 +There is a separate "​customize"​ page in the menu. There the visitor can change the color scheme, the default forecaster and all units used. At least if you allow your visitors to do that.
 +# IMPORTANT ​    Which areas of the website may be customized by the visitor. ​
 +#               This info is processed in the first part of index.php
 +$SITE['​userChangeDebug'​] ​  = true;    // true to let user set debug=Y ​
 +$SITE['​userChangeColors'​] ​ = true;    // let user select website colors / photos according to $SITE['​colorStyles'​]
 +$SITE['​userChangeMenu'​]  ​  = true;    // user can choose Vertical or Horizontal menus
 +$SITE['​userChangeHeader'​] ​ = true;    // user can select their own header
 +$SITE['​userChangeChoice'​] ​ = true;    // user can choose which page to displayed on next visit
 +$SITE['​userChangeLang'​]  ​  = true;    // should be on to let user change to one of the supported languages
 +$SITE['​userChangeUOM'​]  ​  = true;    // let user select thier own units of measurement
 +$SITE['​userChangeForecast'​]= true;    // let user select thier own forecast</​code>​
 +If you do not want your visitors to change anything you should set in wsMenuData.xml the customize page with **show="​no"​** .
 +If you want to remove 1 or a few adaptions only, an example would be oyur own color-scheme,​ you set the individual setting to  **false**
 +<​code>​$SITE['​userChangeColors'​] ​ = false; ​  // let user select website colors / photos according to $SITE['​colorStyles'​]</​code>​
en/optinal_settings.txt · Last modified: 2015/05/23 15:00 by wvdkuil