OX6:Gui Theming Description: Difference between revisions
No edit summary |
(→Style) |
||
Line 16: | Line 16: | ||
== Style == | == Style == | ||
Open the Open-Xchange css files for this changes. | |||
=== The Portal Page === | === The Portal Page === | ||
Line 21: | Line 23: | ||
[[Image:Cut portal.jpg|thumb|150px|none|The Portal Page]] | [[Image:Cut portal.jpg|thumb|150px|none|The Portal Page]] | ||
# | #<body> .background-color | ||
# | #cpbottom-color | ||
# | #font-color-disabled | ||
#font-style-headline | |||
#background-color-additional-content | |||
#border-background-default | |||
#font-color-default | |||
#font-style-lable | |||
#font-color-header | |||
#cpheader-color | |||
#font-style-headline | |||
#border-color-design | |||
#background-color-content | |||
#font-color-header | |||
#topHeaderBG | |||
Line 30: | Line 44: | ||
[[Image:Cut calendar.jpg|thumb|150px|none|The Calendar Page]] | [[Image:Cut calendar.jpg|thumb|150px|none|The Calendar Page]] | ||
# | #font-color-disabled | ||
# | #wholeDayBackground | ||
# | #background-color-PMG-selection-elements | ||
#offTimeBackground | |||
#strokeCalendar | |||
#sectionStrokeCalendar | |||
#border-color-image | |||
#font-style-big-headline | |||
#kwSeperationBackGround | |||
#workTimeBackground | |||
=== Calendar Month View === | === Calendar Month View === | ||
Line 41: | Line 63: | ||
#a | #a | ||
#a | #a | ||
=== New Appointment === | === New Appointment === | ||
Line 49: | Line 72: | ||
#a | #a | ||
#a | #a | ||
=== New Appointment Series === | === New Appointment Series === | ||
Line 57: | Line 81: | ||
#a | #a | ||
#a | #a | ||
=== Calendar Week View === | === Calendar Week View === | ||
Line 65: | Line 90: | ||
#a | #a | ||
#a | #a | ||
=== Mail View === | === Mail View === |
Revision as of 12:40, 19 June 2008
Introduction
Open-Xchange SP4 will support theming functionality, so that you will be able to create own themes and make them available in the configuration frontend of the Open-Xchange Webinterface. The stylesheet files have been modified with SP4, so that everything that should affect the theming functionality can now be configured within an own theme. Besides also the images can be replaced per theme.
Creating an Open-Xchange Theme
All themes will be stored in the following directory of the Open-Xchange Server:
/var/www/ox6/themes/
Per default you will have at least three themes in this directory: darkseagreen, default and ochre. The easiest way to start with your own theme is to copy the default theme with:
cp -r /var/www/ox6/themes/default /var/www/ox6/themes/[YOUR_THEME_NAME]
Now, you should start modifying your theme, by editing the stylesheet files in /var/www/ox6/themes/[YOUR_THEME_NAME]/css, and exchanging the images from /var/www/ox6/themes/[YOUR_THEME_NAME]/images. The following screenshots will give you an overview of the stylesheet structure, and which tags have to be modified in order to get your theme customized:
Style
Open the Open-Xchange css files for this changes.
The Portal Page
- <body> .background-color
- cpbottom-color
- font-color-disabled
- font-style-headline
- background-color-additional-content
- border-background-default
- font-color-default
- font-style-lable
- font-color-header
- cpheader-color
- font-style-headline
- border-color-design
- background-color-content
- font-color-header
- topHeaderBG
The Calendar Page
- font-color-disabled
- wholeDayBackground
- background-color-PMG-selection-elements
- offTimeBackground
- strokeCalendar
- sectionStrokeCalendar
- border-color-image
- font-style-big-headline
- kwSeperationBackGround
- workTimeBackground
Calendar Month View
- a
- a
- a
New Appointment
- a
- a
- a
New Appointment Series
- a
- a
- a
Calendar Week View
- a
- a
- a
Mail View
- a
- a
- a
Setup description
After you have created and modified your theme, you should make those theme available in the configuration interface for users of the Open-Xchange Server. To do that, you only have to manifest your theme in the following server configuration file, afterwards your users can select your theme:
/opt/open-xchange/etc/groupware/themes.properties
Each key in this property file must be prefixed with the theme bundle identifier. This is "com.openexchange.themes". The prefix must be followed with the unique identifier of a theme. This unique identifier specifies the directory name of the theme on the web server (/var/www/ox6/themes/ per default), too. The value of the property can be any name to described the theme. This name will be displayed in the AJAX GUI for selecting a theme. For example you should add the following line to this configuration file:
com.openexchange.themes.[YOUR_THEME_NAME]=[YOUR_THEME_DESCRIPTION]
Afterwards, restart the Open-Xchange service groupware. Your users can now select your theme.
End user view
After you have created and configured your theme, your users will be able to select it in the configuration frontend: