Script Tab

Discussions about new features or changes in existing features

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

Script Tab

Postby chev » Wed Aug 26, 2009 1:36 am

Hi,

Is there a way we can make the script tab pop-up a new window?
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

Postby mflorell » Wed Aug 26, 2009 6:43 pm

Could you explain in more detail exactly what you are trying to accomplish?
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby chev » Wed Aug 26, 2009 8:26 pm

on the Agent interface there are two tabs on top. I want the SCRIPT when clicked to be opened on a new window
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

yes

Postby brett05 » Wed Aug 26, 2009 8:38 pm

yes you can they are many way to realize it
look good in the javascript in your vicidial.php
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby chev » Wed Aug 26, 2009 8:41 pm

@brett05

Sorry not that good in javascript but could you give me a lil insight so that i can start over with it
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

Postby brett05 » Wed Aug 26, 2009 8:55 pm

look for exemple you can use this solution i think it will work good
1=admin-->compaign the choose Get Call Launch:script
the in your vicidial.php seach this :
if (get_call_launch == 'SCRIPT') if you use a manual dial
or
if (CalL_AutO_LauncH == 'SCRIPT') if you use a auto dial
the add this :
if (get_call_launch == 'SCRIPT')
{
window.open(ScriptPanelToFront,'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=640,height=450');
}

try this
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

yes

Postby brett05 » Wed Aug 26, 2009 8:57 pm

and thez are many other way to realise it without javascript
you can use a simple pop up or a new windows php or html for the script
or you can create a new page for your script the you can insert it in the Web Form:
exemple:Web Form:http://yourip/yourpageforscript.php
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

yes

Postby brett05 » Wed Aug 26, 2009 9:02 pm

the best thing in this suport same time you can find a solution for your question
and the bad thing if you ask same thing can make money for other i say you don't ask it :D :D
i have ask many question before and no one have answer me
but no probleme we understand good with this action
thanks vicidial
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby chev » Wed Aug 26, 2009 9:12 pm

thank you very much Sir! ill try it
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

Postby chev » Wed Aug 26, 2009 9:19 pm

tried it but it didnt pop-out a new window. still looking for a solution
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

yes

Postby brett05 » Wed Aug 26, 2009 9:21 pm

this will pop up when you make a call
have you try it ?
if not i will try it tomorow the i will say you beacause o have not try it
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby chev » Wed Aug 26, 2009 10:06 pm

Yup tried it and when i receive a call it just goes to the script but it doesnt pop a new window
chev
 
Posts: 17
Joined: Thu Jun 05, 2008 5:41 am

Postby mflorell » Thu Aug 27, 2009 8:35 am

In SVN trunk you can now use the new agc/vdc_script_display.php page as a web form and it will display the script in a new window.
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Features

Who is online

Users browsing this forum: No registered users and 27 guests