Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Code Help needed for adding poll script to Blank Sidebox

    Can someone help me with the correct code to put in the blank sidebox?

    I have a poll script where I need to insert this line of code:

    <?php include ("http://www.havendesignz.com/xpoll/polls.php"); ?>

    The code for the sidebox where I can insert code is:

    $content .= '{INSERT CODE HERE}';

    I just need a lil help in actually inserting the correct code to call the script cos just pasting that whole line is not working LOL that's of course if I can ;)
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  2. #2
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Code Help for Blank Sidebox

    NM, I have decided to just text link to the poll from the main page, I cannot get the code I am supposed to put right at the top to work right anyway, and my kids are shredding my thought processes LOL!
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  3. #3
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: Code Help for Blank Sidebox

    Ok, I have come back to ask for help with this LOL

    For my poll script, at the very top of the page before anything else I am supposed to put this code:

    <?php $_GET['poll'] = 1; include ($_SERVER['DOCUMENT_ROOT']."/xpoll/top.php"); ?>

    Every time I try to put it in html_header.php the page blanks out LOL

    The second part of getting the poll to display requires me to put the following code where I want the poll to be seen....i.e. I am trying to get it into the blank sidebox:

    <?php include ($_SERVER['DOCUMENT_ROOT']."xpoll/polls.php"); ?>

    It works in my tests here: http://www.havendesignz.com/store/polltest.php and here: http://www.havendesignz.com/polltest.php just I cannot get it on the store at all, can't get past adding the first step to even try the second step LOL

    Can any PHP experts help me with this one?
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  4. #4
    Join Date
    Jun 2009
    Location
    Miami, Fl
    Posts
    138
    Plugin Contributions
    0

    Default Re: Code Help needed for adding poll script to Blank Sidebox

    Hi have the same idea but I don't find any way or module or something that teach me how insert a poll in my zen cart store.

    I can't believe that nobody answer you.

 

 

Similar Threads

  1. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  2. 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
  3. Inserting Advanced Poll in a blank sidebox
    By AdamTOW in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Oct 2008, 10:17 PM
  4. Help putting code in a blank sidebox
    By brimsjewelry in forum Addon Sideboxes
    Replies: 6
    Last Post: 26 Oct 2007, 01:45 AM
  5. Help Needed For Sidebox Design
    By bamalama in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Oct 2006, 02:04 AM

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