Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008
    Posts
    33
    Plugin Contributions
    0

    Default Using banners on external site

    I have a question, Is there a way to use sidebox anywhere to display zencart banner group on an external website, the external page is a php index file. and also the external site is on the same server.
    Thanks in Advance

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Using banners on external site

    There are a couple of ways to do it, but you are going to have to code some custom script, regardless of how you end up doing it.

    1 - Create a small script on your own store space which just displays a random banner, and then embed this page within an iFrame on your other site. Messy, but secure, as no passwords or database access is needed by 2nd site.

    2 - Create a little javascript file on your own server which builds the banners for you. You can then include the javascript as a linked file within as many sites as you need, muchthe same as Google does with their advertising.

    3 - the worst way to do it, but it may work depending on your server setup and permissions - use the Sidebox Anywhere contrib to place the sidebox within your other site. You will need to have the correct permissions as you will need to be able to include the store files within yuor other PHP script.

    If it was me, I would go for option 2 - it's a little more work, but it is far more flexible, and can be re-used at a later date with loads of sites, rather than just one.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  3. #3
    Join Date
    Mar 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Using banners on external site

    Thanks, for your help, I really want to use the "Sidebox anywhere"
    contribution if I could. That way I could still use the backend banner manager.

    Any help on this would be great.

  4. #4
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Using banners on external site

    You would be able to use the backend manager with all 3 of the suggestions I provided.

    If you want to use the Sidebox Anywhere, just install that contribution within the other site, and follow the install instructions.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  5. #5
    Join Date
    Mar 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Using banners on external site

    Okay, where im stuck is the instructions explain to name the module you want to display i.e. "whats_new.php".

    Were im confused is what page do I call for the banners?

  6. #6
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Using banners on external site

    In the Layout Box COntroller, within the admin, you have a whole host of sideboxes in there, with the filename for each. You'll see banner_box_all.php or something similar, and then other boxes which have the word banner within them. Just choose the banner box you want to display, and use that filename.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  7. #7
    Join Date
    Mar 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Using banners on external site

    Thanks so much.

 

 

Similar Threads

  1. Using external images
    By IAINMCG in forum General Questions
    Replies: 13
    Last Post: 16 Jan 2013, 09:03 PM
  2. Using external email newsletter system
    By mtndan in forum General Questions
    Replies: 10
    Last Post: 20 Sep 2009, 03:23 AM
  3. Using external IP address to host site
    By Meshach in forum General Questions
    Replies: 1
    Last Post: 2 Jun 2009, 11:48 PM
  4. Replies: 4
    Last Post: 1 Jul 2008, 09:11 PM
  5. Can I point banners to external server location?
    By oavs in forum Basic Configuration
    Replies: 4
    Last Post: 11 Feb 2007, 12:03 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