[SOLVED]Custom Theme error: Core.UI.Table.Sort is undefined

Moderator: crythias

Locked
sms
Znuny newbie
Posts: 8
Joined: 29 Dec 2011, 08:45
Znuny Version: 3.0.11
Real Name: Stefan Sieber
Company: science + computing ag

[SOLVED]Custom Theme error: Core.UI.Table.Sort is undefined

Post by sms »

Hi,

I successfully created a new theme and made a few minor changes to AgentTicketOverviewSmall.dtl which I can verify after selecting the theme in my preferences.

However, clicking a ticket to open the TicketZoom gives me an error popup starting with "Core.UI.Table.Sort is undefined" (after selecting error details).

The problem seems to be independent of my modifications - I also made an exact copy of "Standard" which gave me the same error in TicketZoom

I also noticed that my custom favicon is replaced by the default one when I'm using my theme

Any ideas what could be causing the problem?

Thanks,
Stefan
Last edited by sms on 31 Dec 2011, 00:31, edited 1 time in total.
OTRS 3.0.11 | mysql 5.5-18 | RH5.7 VM (vsphere5)| KIX 4.0.1 | ITSM 3.0.5
sms
Znuny newbie
Posts: 8
Joined: 29 Dec 2011, 08:45
Znuny Version: 3.0.11
Real Name: Stefan Sieber
Company: science + computing ag

Re: Custom Theme error: "Core.UI.Table.Sort is undefined"

Post by sms »

update:

I narrowed it down to:

in /opt/otrs/Kernel/Output/HTML/
create new dir "test"
(currently "test" is empty)

add test as new theme via SysConfig (Framework -> Core::Web)

select theme in preferences

TicketZoom is ok

then:
in "test":
cp ../Standard/AgentTicketZoom.dtl .
(not modified, permissions are ok)

in browser: hit reload in TicketZoom -> Error
(ticket display ends with the first row of buttons, actual content is missing)

as soon as I remove AgentTicketZoom.dtl from the theme dir the ticket display is ok on reload

The problem seems to be related to exactly this particular file - as long as I don't have AgentTicketZoom.dtl in my theme I can use other files from Standard without problems (so far). Unfortunately I need to modify TicketZoom as well.
OTRS 3.0.11 | mysql 5.5-18 | RH5.7 VM (vsphere5)| KIX 4.0.1 | ITSM 3.0.5
sms
Znuny newbie
Posts: 8
Joined: 29 Dec 2011, 08:45
Znuny Version: 3.0.11
Real Name: Stefan Sieber
Company: science + computing ag

Re: Custom Theme error: "Core.UI.Table.Sort is undefined"

Post by sms »

talking to myself :)

since I'm using KIX4OTRS it looks like I need to copy files for my theme from

KIX4OTRS/Kernel/Output/HTML/Standard

instead of
Kernel/Output/HTML/Standard

which makes perfect sense now that I figured it out :oops:
OTRS 3.0.11 | mysql 5.5-18 | RH5.7 VM (vsphere5)| KIX 4.0.1 | ITSM 3.0.5
Locked