Page 1 of 1
Script Tab
Posted:
Wed Aug 26, 2009 1:36 am
by chev
Hi,
Is there a way we can make the script tab pop-up a new window?
Posted:
Wed Aug 26, 2009 6:43 pm
by mflorell
Could you explain in more detail exactly what you are trying to accomplish?
Posted:
Wed Aug 26, 2009 8:26 pm
by chev
on the Agent interface there are two tabs on top. I want the SCRIPT when clicked to be opened on a new window
yes
Posted:
Wed Aug 26, 2009 8:38 pm
by brett05
yes you can they are many way to realize it
look good in the javascript in your vicidial.php
Posted:
Wed Aug 26, 2009 8:41 pm
by chev
@brett05
Sorry not that good in javascript but could you give me a lil insight so that i can start over with it
Posted:
Wed Aug 26, 2009 8:55 pm
by brett05
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
yes
Posted:
Wed Aug 26, 2009 8:57 pm
by brett05
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
yes
Posted:
Wed Aug 26, 2009 9:02 pm
by brett05
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
i have ask many question before and no one have answer me
but no probleme we understand good with this action
thanks vicidial
Posted:
Wed Aug 26, 2009 9:12 pm
by chev
thank you very much Sir! ill try it
Posted:
Wed Aug 26, 2009 9:19 pm
by chev
tried it but it didnt pop-out a new window. still looking for a solution
yes
Posted:
Wed Aug 26, 2009 9:21 pm
by brett05
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
Posted:
Wed Aug 26, 2009 10:06 pm
by chev
Yup tried it and when i receive a call it just goes to the script but it doesnt pop a new window
Posted:
Thu Aug 27, 2009 8:35 am
by mflorell
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.