Suspended
- Join Date:
- Jun 2007
- Location:
- Eustis, Florida, USA, EARTH
- Posts:
- 868
- Plugin Contributions:
- 0
Custom sidebox for Live support
I have added a custom sidebox using these 3 files as seen in wiki:
chat_sidebox.defines.php
<?php
define('BOX_HEADING_NEW_SIDEBOX', 'Gallery');
?>
chat_sidebox.php
<?php
$show_new_sidebox = true;
if ($show_new_sidebox == true){
require($template->get_template_dir('tpl_new_sidebox.php',DIR_WS_TEMPLATE,
$current_page_base,'sideboxes'). '/tpl_new_sidebox.php');
$title = BOX_HEADING_NEW_SIDEBOX;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE,
$current_page_base,'common') . '/' . $column_box_default);
}
?>
tpl_chat_sidebox.php
<?php
$content = <<< End_Of_Quote
Enter your sidebox content here
End_Of_Quote;
?>
here is the text that I am trying to insert into tpl_chat_sidebox.php
<!-- Powered by: Crafty Syntax Live Help <http://www.craftysyntax.com/> --> <div id="craftysyntax"> <script type="text/javascript" src="http://www.mydomain.com/csrep/livehelp_js.php?eo=1&department=2&serversession=1&pingtimes=15"></script> <br><font style="font-family: verdana, helvetica, sans-serif; font-size: 8px; color: #000000;">Powered By:</font> <a href="http://www.craftysyntax.com" alt="Crafty Syntax Live Help" target="_blank" style="font-family: verdana, helvetica, sans-serif; font-size: 10px; color: #11498e; text-decoration: none; font-weight: bold;">Crafty Syntax</a> </div> <!-- copyright 2003 - 2008 by Eric Gerdes -->what is the correct syntax? I have tried single quotes at beginning and end but that didnt work, also tried single quotes before and after html tags and that didnt work. Also included the ; at the end of every line.