This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Customize look and feel"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Custom theme for multiple installations (servermanager))
(Custom theme for multiple installations (servermanager))
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
1. Create a webserver-accessible folder inside the Group-Office source folder (/usr/share/groupoffice on Debian/Ubuntu) called "branding" containing:<br />
 
1. Create a webserver-accessible folder inside the Group-Office source folder (/usr/share/groupoffice on Debian/Ubuntu) called "branding" containing:<br />
 
- a 214px × 46px logo used at the top left of Group-Office<br />
 
- a 214px × 46px logo used at the top left of Group-Office<br />
- a 217px x 47px logo used at the login screen of Group-Office<br />
+
- a 213px x 47px logo used at the login screen of Group-Office<br />
 
- your custom css file and change it accordingly:
 
- your custom css file and change it accordingly:
 
<pre>
 
<pre>
Line 10: Line 10:
 
Logo at top left.
 
Logo at top left.
 
*/
 
*/
#headerLeft{
+
#go-logo{
 
background: url('logo214x46.png');
 
background: url('logo214x46.png');
 
         background-repeat: no-repeat;
 
         background-repeat: no-repeat;
Line 21: Line 21:
  
 
/*
 
/*
Logo at login screen and about screen.
+
Logo at login screen and about screen.
 
*/
 
*/
 
.go-app-logo, .go-about-logo{
 
.go-app-logo, .go-about-logo{
background: url('logo217x47.png');
+
background: url('logo213x47.png');
 
         width: 217px;
 
         width: 217px;
 
         height: 47px;
 
         height: 47px;
Line 35: Line 35:
 
This logo is used on pages that do not render the complete ExtJS interface. eg. Accept calendar invitation.
 
This logo is used on pages that do not render the complete ExtJS interface. eg. Accept calendar invitation.
 
*/
 
*/
#container{
+
 
width:800px;
+
#container {
padding:20px;
+
width: 1000px;
margin:10px auto;
+
padding: 20px;
background-color:white;
+
margin: 10px auto;
background:white url('logo142x30.png') 20px 20px no-repeat;
+
background-color: white;
padding-top:80px;
+
background: white url('logo213x47.png') 20px 20px no-repeat;
border:1px solid #ddd;
+
padding-top: 80px;
 +
border: 1px solid #ddd;
 
border-radius: 6px;
 
border-radius: 6px;
 
}
 
}
Line 49: Line 50:
 
border:1px solid #c1d1d6;
 
border:1px solid #c1d1d6;
 
color:#666;
 
color:#666;
background:white url('logo200x40.png') 20px 10px no-repeat;
+
background:white url('logo213x47.png') 20px 10px no-repeat;
 
font:bold 12px "Lucida Sans Unicode","Lucida Grande","Mukti Narrow", sans-serif;
 
font:bold 12px "Lucida Sans Unicode","Lucida Grande","Mukti Narrow", sans-serif;
 
padding:60px 10px 10px 20px;
 
padding:60px 10px 10px 20px;

Latest revision as of 15:40, 16 September 2013

Custom theme for multiple installations (servermanager)

If you are using the Group-Office servermanager to manage multiple Group-Office installations on a server, you have the option to use your own logo and product name for all installations on the server:
1. Create a webserver-accessible folder inside the Group-Office source folder (/usr/share/groupoffice on Debian/Ubuntu) called "branding" containing:
- a 214px × 46px logo used at the top left of Group-Office
- a 213px x 47px logo used at the login screen of Group-Office
- your custom css file and change it accordingly:

/*
Logo at top left.
*/
#go-logo{
	background: url('logo214x46.png');
        background-repeat: no-repeat;
	float: left;
	height: 46px;
	padding-right: 20px;
	line-height: 40px;
	width: 214px;
}

/*
Logo at login screen and about screen.
*/
.go-app-logo, .go-about-logo{
	background: url('logo213x47.png');
        width: 217px;
        height: 47px;
        background-repeat: no-repeat;
        margin-top: 10px;
        margin-bottom: 20px;
}

/**
This logo is used on pages that do not render the complete ExtJS interface. eg. Accept calendar invitation.
*/

#container {
	width: 1000px;
	padding: 20px;
	margin: 10px auto;
	background-color: white;
	background: white url('logo213x47.png') 20px 20px no-repeat;
	padding-top: 80px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

#loading .loading-indicator{
	border:1px solid #c1d1d6;
	color:#666;
	background:white url('logo213x47.png') 20px 10px no-repeat;
	font:bold 12px "Lucida Sans Unicode","Lucida Grande","Mukti Narrow", sans-serif;
	padding:60px 10px 10px 20px;
	margin:0;
	text-align:left;
}

.btn-groupoffice{
	background-image:url('images/16x16icon.png') !important;
}


2. Update the Group-Office globalconfig.php used in all installations (or the config.php of just one installation):

$config['product_name'] = "MyOffice";
$config['custom_css_url'] = "/branding/myCssFile.css" // Your root might be different. eg. /groupoffice/branding/...
$config['favicon']='/branding/favicon.ico';
$config['gota_icon_url']='http://full.url.to.groupoffice/branding/icon.png';

Now all instances of the phrase "Group-Office" are replaced by "MyOffice", and you have your custom logo instead of the Group-Office logo.