Customizing Customer Web Questions

English! place to talk about development, programming and coding
Post Reply
Nicsoft
Znuny newbie
Posts: 53
Joined: 12 Aug 2010, 14:58
Znuny Version: 2.4
Location: Stockholm
Contact:

Customizing Customer Web Questions

Post by Nicsoft »

Hello,

I'm really stuck with this one and hope someone can help out, or at least point me in the right direction.

I am working with creating my own theme in order to get the Customer Web customized according to some requirements. It’s the “New Ticket” form I am working on.

I have managed to get customization working actually, the customer can see the customized web page I have created.

Now, the problem I am having is that I don't know how to do some of the customization; I don’t know what files I should edit in order to get the desired result. I know I need to tweek quite a bit in order to get the desired look of my page.

In short, this is what I want to do:
  • Hide some fields (To, SLA, Type)
    Set the hidden fields to some default. E.g. SLA depends on what has been chosen in Service.
Note: Isn't it strange that I need to chose an SLA for a service when the service is already associated with an SLA? Or did I miss something here?

I want to hide some fields and that I can do. But when I hide the “To” field and the customer chooses “Service”, the “Service” drop down list becomes empty (I have service defined and visible when the "New Ticket" form is loaded for the customer). It seems to be depending on some actual value in the “To”-field. Now, I assume that this is client-code, but I cannot find the actual code that react on selections of the drop down boxes. I assume there must be some “OnChange” function that I should find. Where can I find the files that do these kind of things, and preferable what file and which method to change?

Also, when I have hidden the fields I want to hide, I need to set those values myself in some client side script. My plan is to do that in the “CustomerTickeMessage.dtl” file. Any comment on this would be appreciated.

OR...please advice me if I'm using some incorrect approach above. I am totally new to OTRS and Perl (but have been programming for years in other languages...). Perhaps everything is configurable...?

Thanks in advance!

Regards,
Niklas
kmdot
Znuny newbie
Posts: 68
Joined: 16 Dec 2010, 18:46
Znuny Version: 3

Re: Customizing Customer Web Questions

Post by kmdot »

Interested in knowing this too, anyone?
Post Reply