Monthly Archives: January 2015

Disable Browser auto complete on TimeUnits input box

Using the here described method, you can add a few simple lines of Java Script to disable the Browser auto complete function on the time units input box.

The problem is, when you are required to fill in the time spent on a ticket, the auto complete dropdown will conceal the submit button and you have to click somewhere else before you can submit your response:


Or you could accidentally select a wrong time by trying to click submit while the dropdown is still up.

When you follow my guide to register your own Java Script file in OTRS you can simply add the following code to disable auto complete on the time units input:

$( document ).ready(function() {
    if ( $('#TimeUnits').length )
        $('#TimeUnits').autocomplete({ disabled: true });

If you’d prefer to keep the auto complete but still want the Submit button clickable you could shrink the time units input box by removing the W50pc class from it.

$( document ).ready(function() {
    if ( $('#TimeUnits').length )

Enjoy our OTRS


Storing CustomerUser data in dynamic fields

As described in the OTRS documentation it is possible to take customer information, for example from an LDAP Backend, to a dynamic field when a ticket is created or the customer is changed. This could later be used for reporting and would preserve the value from the time of ticket creation, even when it is changed in the LDAP backend.

Unfortunately the documentation is not that detailed, especially if you new to OTRS. So here is a little more information on how to do this.

Continue reading

Running javascript on any OTRS Agent or Customer site

Customizing your OTRS setup with javascript is pretty easy. All you need is two files and a new folder. No need to create your own theme.

Before you go on, please do not try this on a production system, use a test system.
If you don’t have one, build one or use the OTRS Appliance.

I am using OTRS 3.3 any other version might differ from what I’m doing, so please use caution.

Continue reading

Create a VMware Workstation virtual machine for OTRS on CentOS

First things first:

We will later need the CentOS install ISO, depending on you internet connection it could be a good idea to start the download now.

My Demo uses this (64-Bit) image:

You could also use the latest CentOS 6 minimal iso from one of the mirrors on

But be aware that setup could differ when using an other iso.

Open up VMware Workstation

Go to File -> New virtual Machine…

A Wizard to create the virtual machine will start, I will post all screens of the wizard with my setting but mostly without comment.

Select Custom and click Next


I don’t want VMware Workstation to mess with my setup…



I’ll give the VM 2 CPUs with 2 Cores each but not really necessaryuse what you can spare to speed up the installation a bit

Ram is not so important either, 512MB would do
use what you can spare to speed up the installation a bit

Use bridged networking to get the VM a own IP to call the web interface later
We will need Internet access as well




Be generous with disk size, it will be thin provisioned



Now you have a new VM:

right click and go to Settings…

Make sure that Connect at power on is checked and Browse to select your CentOS iso

Your VM is now ready for the CentOS setup.

Stay tuned for my next post when we will do just that.

Only a year later…

Thanks to the automatic update feature of this wordpress site I had an constant reminder over the last year that I really should start and write my first real post.

So to get forward with my blog, I have just added the About Me site, and am now really writing a Post.

Unfortunately it has nothing to do with OTRS or Open Source or IT, so it will not count for the first real post, but be patient it’s coming this way…