Using Custom/Kernel

Moderator: crythias

Locked
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Using Custom/Kernel

Post by tnieman »

I thought that if you created copies of files in the Kernel folder structure in the Custom/Kernel structure, that OTRS would use them.

I copied otrs/Kernel/Output/HTML/Standard/AgentTicketActionCommon,dtl, AgentTicketEmail.dtl, and AgentTicketPhone.dtl to otrs/Custom/Kernel/Output/HTML/Standard/AgentTicketActionCommon,dtl, AgentTicketEmail.dtl, and AgentTicketPhone.dtl

The changes I made were to make Service and SLA mandatory.

The files in Custom... are not being used.

If the changed files are in otrs/Kernel/Output/HTML/Standard, it works, but I get errors from ITSM that the files are not correct.

Also the act as mandatory, but are not marked as mandatory.

Any ideas how to properly set mandatory on Service and SLA without causing ITSM issues? Also is my statement about using otrs/Custom/Kernel/Output/HTML/Standard for changes correct?


Tom
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Using Custom/Kernel

Post by reneeb »

Templates have to be in Kernel/Output/HTML/.... OTRS cannot load templates from Custom/... . That's a bug in "older" OTRS versions (it's fixed in the OTRS 3.2.x branch)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Using Custom/Kernel

Post by yuri0001 »

.dtl files you must place into Kernel/Output/HTML/SomCustomThemeName folder & set the name of this folder as Theme name in Sysconfig or agent Preferencies. With Preferencies you can off your changes individually for agents if need. :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Using Custom/Kernel

Post by tnieman »

Thanks! We do have a custom skin we created we can link it to that.
Locked