AW: [otrs-i18n] Editing

Tobias Luetticke tobias.luetticke at inovex.de
Thu May 10 13:21:40 GMT 2007


Hi,

* To create a theme:
 - The OTRS admin hanfbook contains a section about themes. You just need to create an entry in your DB (example from said handbook):

mysql> INSERT INTO theme
-> (theme, valid_id, create_time, create_by, change_time, change_by)
-> VALUES
-> (’mytheme’, 1, current_timestamp, 1, current_timestamp, 1);

Then, create a corresponding directory in your OTRS instalation (Kernel/Output/HTML/mytheme).
Finally, make the users change their theme from Standard (or Lite) to <mytheme> using their preferencs panel.
You can set the theme by default via this config option in Kernel/Config.pm:
$Self->{'DefaultTheme'} = 'mytheme';

Now, copy all files you want to change from Kernel/Output/HTML/Standard to Kernel/Output/HTML/mytheme and apply your changes there.


* Regarding the .dtl's: You may find the developer manual helpful (section about templates):
http://doc.otrs.org/developer/2.1/en/pdf/otrs_developer_book.pdf

What I usually do to track down the desired dtl affilited with the form I see in the browser is: I check the link which leads to the desired page. Example: The menu bar icon for phone ticket creation has this link:
http://<host>/otrs/index.pl?Action=AgentTicketPhone&Session=109910507916e8e6a326a972ba2a6a2e81

Here you see the text 'AgentTicketPhone'. There is a .dtl named acordingly.

Hope this helps to get you started.

Cheers
 Tobias

----- Originalnachricht -----
Von: Emily Flynn <eflynn at alliedpensions.com>
Gesendet: Don, 10.5.2007 12:46
An: i18n at otrs.org
Betreff: [otrs-i18n] Editing





Hi There,


 


I’m brand new to OTRS and I have it up and running
okay.  My problem is that I need to create a theme or just edit the current
pages to suit our companies needs, but I really don’t know how.  Can
anyone give me a brief run down on how I should go about it?  I’ll have
help from someone who knows more about this kind of stuff than me, but
unfortunately the .dtl files have us confused.   What I mean is that I’d
like to edit the CompanyHeader.dtl and I don’t know what interface to
use.  Any advice, much appreciated! 


 


Kind Regards,


 


Emily Flynn


IT Assistant


 


Allied Pension
Trustees


Apex Business Centre,


Blackthorn Road,


Sandyford,


Dublin
18


 


Tel:
+353 1 206 3010


Fax:
+353 1 206 3017


Mob:
087 777 8391


Web: www.alliedpensions.com


 




More information about the i18n mailing list