Differences

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

Link to this comparison view

Both sides previous revision Previous revision
documentation:white-pages:latest:config_general [2016/11/24 17:45]
coudot [Lang]
documentation:white-pages:latest:config_general [2019/07/16 19:35] (current)
Line 1: Line 1:
 ====== General parameters ====== ====== General parameters ======
  
-<​note>​Configuration file''​white-pages/​conf/​config.inc.php''​</note>+===== Configuration ​files ===== 
 + 
 +To configure White Pages, you need to create a //local// configuration ​file named ''​config.inc.local.php''​ in ''​white-pages/​conf''​. For example : 
 +<file php><?​php 
 +/Override ​config.inc.php ​parameters below 
 + 
 +?></file> 
 + 
 +White Pages default configuration file is ''​white-pages/​conf/​config.inc.php''​. It includes ''​config.inc.local.php''​. Consequently,​ you can override all parameters in ''​config.inc.local.php''​. This prevents you to be disturbed by an upgrade.
  
 ===== Language ===== ===== Language =====
Line 42: Line 50:
 </​file>​ </​file>​
  
-==== Default photo ==== 
- 
-Configure which file is used as default photo: 
-<file php> 
-$default_photo = "​images/​240px-PICA.jpg";​ 
-</​file>​ 
  
 ==== Hover effect ==== ==== Hover effect ====
Line 61: Line 63:
 <file php> <file php>
 $custom_css = "​css/​custom.css";​ $custom_css = "​css/​custom.css";​
 +</​file>​
 +
 +==== Footer ====
 +
 +You can hide the footer bar:
 +<file php>
 +$display_footer = false;
 +</​file>​
 +
 +===== Default page =====
 +
 +By default, the welcome page is displayed. To change this:
 +<file php>
 +$default_page = "​gallery";​
 </​file>​ </​file>​