Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Using PHP in sideboxes?

    I tried putting PHP in to sideboxes but it won't work... Any idea of what I'm doing wrong?


    Thanks,


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

    Default Re: Using PHP in sideboxes?

    Which sidebox, and what code are you trying to insert?

  3. #3
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Using PHP in sideboxes?

    I want to enter this code:

    <?php

    if(preg_match("/MSIE 6.0/i", $_SERVER['HTTP_USER_AGENT'])) {
    echo "You are using IE6, Please upgrade to Firefox 3.0";
    }
    ?>

    in the live help sidebox of TheWindCutter.com


    Thanks,


  4. #4
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Using PHP in sideboxes?

    Is it possible to do this?


    Thanks,


 

 

Similar Threads

  1. Sideboxes disappear when using paypal_creditcards_sidebox
    By scottmcclean in forum General Questions
    Replies: 2
    Last Post: 4 Aug 2011, 07:47 PM
  2. Using sideboxes or parts of zencart on external sites?
    By workhors in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Mar 2009, 07:26 PM
  3. Using Sideboxes from another template
    By litepockets in forum Basic Configuration
    Replies: 3
    Last Post: 12 Feb 2009, 05:53 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