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
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
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
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.
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
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?
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
Thanks so much.