-
Blank Sidebox
Hello,
I would like to add a online chat feature to my store which would be inserted in a sidebox. So far i've tried several methods but without success...usually the result is a page that won't load.
Where would i put this code :<div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div>
<script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=14' ></script>
in my tpl_blank_sidebox.php. I put the same code in one of my define pages through zen cart and it works fine. If you have the answer please write it out exactly as if i were a newb because i am:huh: Thanks in advance.
Matt
-
Re: Blank Sidebox
I had the same problem and finally gave up on the side box. I just framed it the way I wanted on the home page. You can see what I did here.
-
Re: Blank Sidebox
I have been trying to do the same thing with a lot of issues.
I did get it to work.
I installed the blank box mod.
http://www.zen-cart.com/index.php?ma...roducts_id=174
I created a file called chat.html
In it put your volusion code like mine:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<!-- Begin Volusion Live Chat -->
<div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com/livechat_software.asp'>Free Live Chat Software</a></div>
<script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=155249' ></script>
<!-- End Volusion Live Chat -->
</body>
</html>[QUOTE]
Upload file to your http://www.<yourstore>.com/chat.html
Then you need to do some editing.
Open /includes/languages/english/extra_definitions/blank_sidebox_defines.php
Start by changing the box title to "Live Help"
FIND: define('TEXT_BLANK_SIDEBOX',
AFTER ADD: '<Iframe src="http://www.stuffupforgrab.com/chat.html" width="130" height="65"></Iframe>');
So line will look like:
define('TEXT_BLANK_SIDEBOX', '<Iframe src="http://www.stuffupforgrab.com/chat.html" width="130" height="65"></Iframe>');
Of course you change the store name to yours.
Then
Open /includes/templates/template_default/sideboxes/tpl_blank_sidebox.php
FIND: $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
INLINE AFTER:
I didn't want any extra lines, so I used:
$content .= '';
If you want to add a comment, I think this would be:
$content .= '<p>Click icon above for chat</p>';
Or whatever you prefer for a comment.
Hope this helps you out.