using $otrs/Custom

Moderator: crythias

Locked
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

using $otrs/Custom

Post by schaffel »

Is there something that I have to consider when using the $otrshome/Custom directory?
I try to change some *.dtl files without adding a new theme. so I coppied them from $otrsho/Kernel/Output/HTML/Standard to $otrshome/Custom/Kernel/Output/HTML/Standard and changed them.
From the README file in the Custom directory I understood, that files inside that directory will be loaded instead of the default files. Is that correct?

To keep it short it didn't work for me. :( The OTRS still uses the default *dtl file.

Do I need to activate the feature of that Custom directory?
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
StefanoBoccanera
Znuny newbie
Posts: 76
Joined: 23 Feb 2011, 15:43
Znuny Version: 3.1.5
Real Name: Stefano Boccanera
Company: I.Conseils (self-employee)
Location: Rome (Italy)

Re: using $otrs/Custom

Post by StefanoBoccanera »

I can give my experience.
I used a theme for the frontend, and it works very well.
Probably the manual is not clear about it but in my opinion the 'custom' mechanism doesn't work with dtl and the 'theme' approach is an overlap method with 'custom' and of course is a mandatory solution.
You don't fear about 'theme', you can use it also for small modification to the dtl (no really different graphical theme).
About functional logic I used the 'custom' mechanism for both, kernel/module directory and kernel/system, and yes it's working very well.

regards
Stefano Boccanera

OTRS : 3.1.5
ITSM : 3.1
S.O : RH
RDBMS : Postgres
schaffel
Znuny newbie
Posts: 90
Joined: 20 May 2008, 12:50
Znuny Version: 3.1.X
Real Name: Felix
Company: SyroCon Consulting GmbH
Location: Darmstadt

Re: using $otrs/Custom

Post by schaffel »

Thank you for your answer.

I hoped that the *.dtl files are no special case.

What I feared was not to create an own theme but the efforts to disable the default and only allow the new theme.
I don't know exactly what I have to set or disable to make the new theme the default.
production: OTRS 5.0.X | OTRS:ITSM 5.0.X | AWS-RDS MariaDB 10.1.X | CentOS 7

Gibt es im Raum Frankfurt/Darmstadt OTRS/ITSM-Benutzer, die an einem Erfahrungsaustausch interessiert sind? Dann meldet euch um mit Gleichgesinnten über OTRS in der Praxis und den ganzen Rest zu reden.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: using $otrs/Custom

Post by jojo »

dtl files won't use custom. So they should be in Kernel/Output/HTML/yourfolder/xxx.dtl

yourfolder = Name of the theme
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked