Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default 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&amp;serversession=1&amp;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.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Custom sidebox for Live support

    Any particular reason that you're not using the existing mod for his?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Custom sidebox for Live support

    Do you mean apart from my ignorance?

 

 

Similar Threads

  1. Crafty Syntax Live Help Sidebox support zc 1.3.7x?
    By marksu in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 1 Aug 2009, 08:04 AM
  2. I want to enable live support for our website
    By sunzhoujian in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 Jun 2008, 04:04 PM
  3. Some sort of live preview for custom orders?
    By halezmum in forum General Questions
    Replies: 1
    Last Post: 16 Mar 2008, 04:49 PM
  4. Replies: 2
    Last Post: 17 May 2006, 09:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg