Modify GChrome Card Color - Calls in queue

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Modify GChrome Card Color - Calls in queue

Postby vicinew » Thu Jan 17, 2019 6:14 am

Hi all,
i'm using VICIDial VERSION: 2.14-580a BUILD: 161205-1650. In the agent screen, when some calls in queue are waiting, appears the advice "Calls in queu". In the same time I need to modify the color of GChrome Card. Is it possible?
Thx
vicinew
 
Posts: 30
Joined: Sat Apr 30, 2016 3:32 pm

Re: Modify GChrome Card Color - Calls in queue

Postby williamconley » Thu Jan 17, 2019 6:17 pm

Of course it's possible, but is that a value in PHP or javascript, or an object in your browser or the DOM? I'm going to just go with "the DOM" for now ...

Every second the agent screen sends a request for information to the server using AJAX. It gets a response and that response will contain the "calls in queue" value (likely all the time, but perhaps only if there are actually calls in queue). With the response, javascript updates values visible to the agent.

You'll need to decide how to jump into that AJAX response process and add another value to change when calls in queue is altered.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 18940
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 11 guests