Ticket subject in browser title

Moderator: crythias

Post Reply
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Ticket subject in browser title

Post by marc_fauser »

This is how it currently looks like:
Image

I want that the browser title also includes the subject of the ticket.
Is that possible?
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Ticket subject in browser title

Post by alexus »

Hi,

You need small custom development.
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Re: Ticket subject in browser title

Post by marc_fauser »

We have a lot of custom changes done.
Can you tell me which file I have to modify?
I don't mind paying for it if somebody has a small solution.
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Ticket subject in browser title

Post by alexus »

marc_fauser wrote: 04 Oct 2021, 22:26 We have a lot of custom changes done.
Can you tell me which file I have to modify?
I don't mind paying for it if somebody has a small solution.
Kernel/Modules/AgentTicketZoom.pm
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Ticket subject in browser title

Post by skullz »

https://github.com/znuny/Znuny/blob/95e ... om.pm#L815

Code: Select all

# generate output
    my $Output = $LayoutObject->Header(
        Value    => "$Ticket{TicketNumber} - $Ticket{Title}",
        TicketID => $Ticket{TicketID},
    );
marc_fauser
Znuny newbie
Posts: 28
Joined: 04 May 2010, 10:27
Znuny Version: 5.0.16

Re: Ticket subject in browser title

Post by marc_fauser »

That works perfectly. Thank you very much.
Post Reply