Chapter 14. Creating your own themes
From open-support.info
(Difference between revisions)
Dick6809 (Talk | contribs)
(Created page with "{{Book |next=~/Chapter 15 |heading=Chapter 14. |title=Creating your own themes |status=effective |progress=00 |author=Dick6809 |editor=Dick6809 }} <onlyinclude>You can create you...")
Newer edit →
(Created page with "{{Book |next=~/Chapter 15 |heading=Chapter 14. |title=Creating your own themes |status=effective |progress=00 |author=Dick6809 |editor=Dick6809 }} <onlyinclude>You can create you...")
Newer edit →
Revision as of 14:27, 22 April 2011
You can create your own themes so as to use the layout you like in the OTRS web frontend. To create own themes, you should customize the output templates to your needs.
More information on the syntax and structure of output templates can be found in the Developer Manual at http://doc.otrs.org, especialy in the chapter on templates.
As an example, perform the following steps to create a new theme called "Company":
-
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.
Only copy over the files you actually change. OTRS will automatically get the missing files from the Standard theme. This will make upgrading at a later stage much easier.
- Customize the files in the directory Kernel/Output/HTML/Company, and change the layout to your needs.
- To activate the new theme, add them in SysConfig under Frontend::Themes.
Now the new theme should be useable. You can select it via your personal preferences page.
WarningDo 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