Scripts not showing

All installation and configuration problems and questions

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

Scripts not showing

Postby benson856 » Wed Feb 11, 2009 12:40 am

Hi,

I am using VICIDIAL version: 2.0.4-152 and my agent web client is unable to bring up scripts that attached to the campaign for neither inbound nor outbound calls. The only phrase showing is "VICIDIAL SCRIPT" and nothing else.

The source codes I have on vicidial.php are:
<span style="position:absolute;left:154px;top:65px;z-index:17;" id="ScriptPanel'>
<table border=0 bgcolor="#FFE7D0" width=<?=$SSwidth ?> height=<?=$SSheight ?>><TR><TD align=left valign=top><font class="sub_text"><div class="scroll_script" id="ScriptContents">VICIDIAL SCRIPT</div></font></TD></TABLE></span>

I see there is no variable defined in this section, is it normal?

Thanks and Best Regards,
benson856
 
Posts: 6
Joined: Fri Nov 28, 2008 6:37 am

Postby mflorell » Wed Feb 11, 2009 3:10 am

The code should be fine if it is the standard vicidial.php code.

Did you test your SCRIPTs in teh script admin screen using the preview link?

Do you see any errors in the Firefox Error Console when you do this?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Alek » Wed Feb 11, 2009 12:42 pm

Check your script on any single or dual quotes. I found it being a problem. In script try to use only alpha-numeric.
Alek.
Alek
 
Posts: 21
Joined: Tue Jun 13, 2006 9:11 am
Location: Toronto, Canada

Scripts not showing

Postby benson856 » Thu Feb 12, 2009 11:26 am

Hi Matt and Alek,

Thanks for your replies. Yes, I did test the script in admin section and there is no problem using the preview link; the preview window pop up without any error and the phrases are exactly as edited.

I didn't use any quotation mark in my script. Any hints that it may goes wrong?

Best Regards,
benson856
 
Posts: 6
Joined: Fri Nov 28, 2008 6:37 am

Postby mcargile » Thu Feb 12, 2009 1:26 pm

The span in vicidial.php for the script gets updated through JavaScript code.

Are there any errors in the Firefox Error Console when you try and bring up the script?
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 614
Joined: Tue Jan 16, 2007 9:38 am

Postby benson856 » Sat Feb 14, 2009 4:43 am

Thanks for all your help. I can bring up the script now by disabling the "insert" function in the "Script Text" edit window.

My original script is like this in the very beginning --

Hello --A--first_name--B--,
this is xxx from company yyyy.......

There is no problem in preview window, it will bring up first_name of the lead. But when I test it with web client, the whole script won't come out. If I remove the insert first name function, then everything works fine.
benson856
 
Posts: 6
Joined: Fri Nov 28, 2008 6:37 am


Return to Support

Who is online

Users browsing this forum: No registered users and 258 guests