Differences

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

Link to this comparison view

Both sides previous revision Previous revision
documentation:latest:portalcustom [2019/07/03 10:06]
paucur add a comment to force a background
documentation:latest:portalcustom [2019/07/03 14:22] (current)
coudot [Skin background]
Line 46: Line 46:
 Go in ''​General Parameters''​ > ''​Portal''​ > ''​Customization''​ > ''​Skin background''​. You can define a background by selecting one of the available image. Use ''​None''​ to use the default skin background configuration. Go in ''​General Parameters''​ > ''​Portal''​ > ''​Customization''​ > ''​Skin background''​. You can define a background by selecting one of the available image. Use ''​None''​ to use the default skin background configuration.
  
-You can force a background in lemonldap-ng.ini with this option in the [Portal] section :+{{ :​documentation:​manager-skin-background.png?nolink |}}
  
-   ​portalSkinBackground=/path/background.jpg+To set your own background, copy your file in ''​/usr/share/​lemonldap-ng/​portal/​htdocs/​skins/​common/​backgrounds/''​ and register it in ''/​etc/​lemonldap-ng/​lemonldap-ng.ini'':​ 
 +<file ini> 
 +[portal] 
 +portalSkinBackground = file.png 
 +</​file>​
  
-{{ :documentation:​manager-skin-background.png?nolink |}}+You can also use ''​lemonldap-ng-cli''​: 
 +<​code>​ 
 +/​usr/​share/​lemonldap-ng/​bin/​lemonldap-ng-cli set portalSkinBackground file.png 
 +</​code>​
 ==== Skin rules ==== ==== Skin rules ====