Tabelle Theme in OTRS 3.0

Hilfe zu OTRS Problemen aller Art
Post Reply
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Tabelle Theme in OTRS 3.0

Post by boris »

Hi,

das hier steht im Admin Book:
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> 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> INSERT INTO theme
-> (theme, valid_id, create_time, create_by, change_time, change_by)
-> VALUES
-> ('Company', 1, current_timestamp, 1, current_timestamp, 1);
mysql>



Ich hab aber in OTRS3.0 keine Tabelle theme.
Steht das jetzt in einer anderen? Oder gehts ganz anders?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
uweuwe
Znuny newbie
Posts: 57
Joined: 30 Jul 2009, 10:03
Znuny Version: 2.4.2

Re: Tabelle Theme in OTRS 3.0

Post by uweuwe »

Heyho,

also ich habe auf meinem OTRS 3.0 Testsystem in der Datenbank eine Tabelle "theme".

In der stehen weiterhin die themes drinne jedoch gibt es noch eine weitere Spalte bzw. Parameter "id", den du bei deinem Insert-Statement gar nicht aufgeführt hast.


Lg
Produktiv: OTRS 2.4.7 auf Windows Server 2003
Testsystem: OTRS 3.0.6 auf Windows XP
tgoerich
Znuny newbie
Posts: 21
Joined: 02 Nov 2010, 16:40
Znuny Version: 2.4.9

Re: Tabelle Theme in OTRS 3.0

Post by tgoerich »

Hi Boris,

ich glaube Du hast Admin Book 2.4 gelesen in 3.0 steht:

Zitat:
Chapter 14. Creating your own themes

You can create your own themes for OTRS to use the layout you like in the web frontend. To create own themes you should customize the output templates to your needs.

More information about the syntax and structure of output templates can be found in the Developer Manual on http://doc.otrs.org , especialy in the chapter about templates .

To create a new theme called "Company" perform the following steps:

1.

Create a directory called Kernel/Output/HTML/Company and copy all files, that you like to change, from Kernel/Output/HTML/Standard into the new folder.

Important

Only copy over the files you actually change. OTRS will automatically get the missing files from the Standard theme. This will make upgrading in a later stage much easier.
2.

Customize the files in the directory Kernel/Output/HTML/Company and change the layout to your needs
3.

To activate the new theme in OTRS, add them in the SysConfig under Frontend::Themes .

Now the new theme should be useable in OTRS. You can select it via your personal preferences page.

Warning

Do not change the theme files shipped with OTRS, since these changes will be lost after an update. Create your own themes only by performing the steps described above.

Zitat-Ende


Dann sollte es hoffentlich auch klappen. Habe es selbst noch nicht probiert.

Gruß

Thorsten
Echtbetrieb: OTRS 2.4.9 ITSM 2.1.1
opensuse 11.3 / Postgresql 8.4.4
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: Tabelle Theme in OTRS 3.0

Post by boris »

Hi,

Danke dir.
Du hast Recht ich hab 2.4 gelesen. 3.0 gab es da noch nicht :D
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Post Reply