Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Posts
    33
    Plugin Contributions
    0

    Default Blank Sidebox Blank Page after adding code for livechat software

    Hey everyone,

    i have been trying to figure this out for hour or more and still cant get it... I am trying to add live chat to my zen cart store. I have found that volusion has free chat software that installs quite easily with only a simple copy and paste of code. My problem is when I try to copy and paste that code into the /public_html/includes/languages/english/extra_definitions/CUSTOM/blank_sidebox_defines.php file the whole site goes to blank white screen. The code is below

    I have successfully added the code the the main page through the admin define pages editor and the code works as it should. But I would much rather have it in sidebox.

    I have also by searching the forums found that it may have something to do with the single ' but I dont know anything about it. I do notice that the code that they supply me has " instead of ' but once I paste it here or into notepad they turn into single '. I hope I havnt confused anyone as bad as I am. But I have tried supplying all the information I have came up with about this situation. let me know if you got any suggestions.

    <!-- Begin Volusion Live Chat -->
    <div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com'>Ecommerce</a></div>
    <script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=996885'></script>
    <!-- End Volusion Live Chat -->

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Blank Sidebox Blank Page after adding code for livechat software

    Inserting stuff like that into a define will always cause problems. Try inserting your code in the proper section of tpl_blank_sidebox_php.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Blank Sidebox Blank Page after adding code for livechat software

    Line breaks can cause problems in a Define, as Steve says.

    Try running it all onto ONE line:

    PHP Code:
    <!-- Begin Volusion Live Chat --><div align='center' id='VolusionLiveChat'><a href='http://www.volusion.com'>Ecommerce</a></div><script defer type='text/javascript' src='https://livechat.volusion.com/script.aspx?id=996885'></script><!-- End Volusion Live Chat --> 
    19 years a Zencart User

  4. #4
    Join Date
    Dec 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: Blank Sidebox Blank Page after adding code for livechat software

    I tried posting the single line code into the tpl_blank_sidebox_php and it makes all the right sideboxes disapear. This is the same as happened when I tried using the original code also.

    I also tried adding the code to the blank_sidebox_defines.php and it give me entire white page and thats it.

    The only other thing i have found is it may have something to do with using javascript in the sidebox. There seems to be a few threads about javascript errors in sidebox but I am not knowledgeable at any type if coding at all.

    I hope to get this figured out as I haven't found any free live chat addons for zen cart.

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Blank Sidebox Blank Page after adding code for livechat software

    I know my solution works (we use this appropach for SSL sideboxes), so you are making some other error.

    What PROGRAM are you using to edit your PHP files?
    19 years a Zencart User

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Blank Sidebox Blank Page after adding code for livechat software

    You might search the Free Software Add Ons for chat.

 

 

Similar Threads

  1. Adding Twitter code to Blank Sidebox Add On
    By habsolutely in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Sep 2011, 07:54 PM
  2. looking for Livechat software
    By maorlv in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Feb 2011, 12:14 PM
  3. How do I remove white space after adding Blank Sidebox?
    By ben harry in forum Addon Sideboxes
    Replies: 4
    Last Post: 16 Oct 2009, 07:32 PM
  4. Replies: 3
    Last Post: 13 Jul 2009, 05:19 AM
  5. Flash hack&blank sidebox = blank page
    By AmandaGero in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2009, 06:19 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR