View Ticket Title in Responsible View

Moderator: crythias

Locked
friendlypenguin
Znuny newbie
Posts: 10
Joined: 25 Jun 2012, 16:25
Znuny Version: 3.1.6

View Ticket Title in Responsible View

Post by friendlypenguin »

Hey guys
I'm quite new to OTRS, using version 3.1.6 an I have the following problem:

In My Responsible Tickets:-View (SMALL) I would like to see the Ticket Titel instead of the Ticket ID... I looked in the adminpanel in SysConfig for AgentTicketResponsibleView (since that's what appears in my URL) but it seems that I cannot fix my problem there...

Does anyone have a hint for me?

Thank you very much.
philippe
friendlypenguin
Znuny newbie
Posts: 10
Joined: 25 Jun 2012, 16:25
Znuny Version: 3.1.6

Re: View Ticket Title in Responsible View

Post by friendlypenguin »

Okay, after quite some searching, i found the files.

To change it in the Ticket View, alter the File:
/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOverviewSmall.dtl

Change the block from $Data{"TicketID"} to $Data{"Title"}

Code: Select all

<!-- dtl:block:ContentLargeTicketGenericRowMeta -->
                    <td>
                        <a href="$Env{"Baselink"}Action=AgentTicketZoom;TicketID=$LQData{"TicketID"}" title="$QData{"Title"}" class="MasterActionLink">$Data{"Title"}</a>
                    </td>
                    <td>
                        $QData{"Age"}
                    </td>
To change it in the Dashboard-View, alter the file:
/opt/otrs//Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl

Change the td class in which the hyperlink lies from <td class="W10pc"> to <td class="W33pc"> which changes the width of this column to 33 percentage. Alter also $Data{"TicketID"} to $Data{"Title"}

Code: Select all

<!-- dtl:block:ContentLargeTicketGenericRowMeta -->
            <td class="W33pc">
                <a href="$Env{"Baselink"}Action=AgentTicketZoom;TicketID=$Data{"TicketID"}" title="$QData{"Title"}" class="AsBlock MasterActionLink">$Data{"Title"}</a>
            </td>
            <td class="W50pc">
                <div title="$QData{"Title"}">$QData{"Title","70"}</div>
            </td>
            <td>$QData{"Time"}</td>
        </tr>
that did the job for me.
friendlypenguin
Znuny newbie
Posts: 10
Joined: 25 Jun 2012, 16:25
Znuny Version: 3.1.6

SOLVED: View Ticket Title in Responsible View

Post by friendlypenguin »

Solved,could be closed if one knows how... :?
Locked