[SOLVED] Duplicate Dashboard Widget

Moderator: crythias

Locked
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

[SOLVED] Duplicate Dashboard Widget

Post by andyt »

Hi, is there a way to duplicate a widget on the dashboard - currently running 2 departments from OTRS and would like to allow both managers to see their current queue numbers but not each others, I found one file (TicketQueueOverview.t) that references the number 0270 which is also in SysConfig against the settings for that widget but not 100% sure how to turn this into 2 widget that each have an entry in the SysConfig section... any help or guidance greatly appreciated!
Last edited by andyt on 09 Aug 2016, 09:49, edited 1 time in total.
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Duplicate Dashboard Widget

Post by andyt »

It's not perfect but I think I've fudged it... copied/pasted the ConfigItem in Ticket.xml, changed the Name from 0270 to 0272 and amended a few of the settings, both seem to be functioning as expected.

I don't know enough about OTRS to know if an upgrade will write over this file - hopefully it won't!
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Duplicate Dashboard Widget

Post by jojo »

it will.

Copy the lines in a new file (you would also need the first 2 lines and the last line

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
....
</otrs_config>
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andyt
Znuny newbie
Posts: 24
Joined: 06 Jan 2015, 13:30
Znuny Version: 5.0.11

Re: Duplicate Dashboard Widget

Post by andyt »

Thanks jojo... created file and it's working as expected!
OTRS 5.0.11
Ubuntu Server 16.04 LTS
Apache 2.4.18 / MariaDB 10.0.25
Locked