File: themes.xml

package info (click to toggle)
otrs2-doc 20060818-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,396 kB
  • ctags: 1
  • sloc: xml: 14,981; sh: 126; makefile: 8
file content (95 lines) | stat: -rw-r--r-- 2,418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<!-- $Id: themes.xml,v 1.1 2006/06/21 19:23:48 cs Exp $ -->

<chapter id="themes">
<title>Erstellung eigener Themes</title>

<para>
Fr OTRS knnen verschiedene Themes angelegt werden, also verschiedene
Layouts zur Gestaltung der Web-Oberflche. Dazu mssen Sie die vorhandenen
Templates ndern und Ihren Wnschen entsprechend anpassen.
</para>

<para>
Mehr Informationen ber die Syntax und den Aufbau von Templates finden Sie
im Entwickler-Handbuch auf

<ulink url="http://doc.otrs.org">
<citetitle>http://doc.otrs.org</citetitle>
</ulink>

innerhalb des Kapitels zu den

<ulink url="http://doc.otrs.org/developer/2.0/en/html/c494.html">
<citetitle>Templates</citetitle>
</ulink>

.
</para>

<para>
Um ein neues Theme namens "Company" anzulegen, gehen sie bitte nach
folgendem Schema vor:
</para>

<para>
<orderedlist numeration="arabic">
    <listitem>
    <para>
    Kopieren Sie das Verzeichnis
    <filename>Kernel/Output/HTML/Standard</filename> nach
    <filename>Kernel/Output/HTML/Company</filename>.
    </para>
</listitem>
<listitem>
    <para>
    Passen Sie die Dateien im Verzeichnis
    <filename>Kernel/Output/HTML/Company</filename> Ihren Wnschen
    entsprechend an.
    </para>
</listitem>
<listitem>
    <para>
    Um das neue Theme OTRS bekannt zu machen, mssen Sie die Datenbank
    hndisch ndern. Gehen Sie hier zu mit MySQL folgendermaen vor:
    </para>

    <para>
    <screen>
linux:~# mysql -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 26 to server version: 5.0.22-Debian_2-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql&gt; use otrs;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql&gt; INSERT INTO theme
    -&gt;     (theme, valid_id, create_time, create_by, change_time, change_by)
    -&gt;     VALUES
    -&gt;     ('Company', 1, current_timestamp, 1, current_timestamp, 1);
mysql&gt;
    </screen>
    </para>
</listitem>
</orderedlist>
</para>

<para>
Ab nun sollten sie das neue Theme nutzen und ber Ihre

<link linkend="user-preferences">
persnlichen Einstellungen
</link>

aktivieren knnen.
</para>

</chapter>