Zen Cart Logo
Forums / General Questions / Can I place the featured sidebox into another website?

Can I place the featured sidebox into another website?

Locked

Views: 969

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 May 2009, 4:26 PM
#1
smellnoevil avatar

smellnoevil

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Can I place the featured sidebox into another website?

I want to take the featured side box and place it onto another website.

The goal is to make the box show the same data as the main zen cart site as a form of advertisement that is still controlled by the zen cart admin page. Both sites are hosted on the exact same web server and account. Actually the site I want to add the box to is in a sub folder of the zen cart site.

I should be able to use include() or require() somehow but the complexity of zen cart overwhelms me at the moment.

Can anyone point me in the right direction?

5 May 2009, 5:18 PM
#3
smellnoevil avatar

smellnoevil

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Can I place the featured sidebox into another website?

Awesome, I didn't notice that someone already made code for it.

Thanks!

6 May 2009, 1:07 AM
#4
smellnoevil avatar

smellnoevil

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Can I place the featured sidebox into another website?

I download Sideboxes Anywhere and installed it.
If i override the image directory I can make everything work; however, the images are loading in full size.

I need to make it work with the image handler bmz_cache.

It would work if i could replace the domain name or remove one of the folder names.

Example:

This is the actual place the images are stored.
http://www.domain1.com/room/bmz_cache/e/e6dc5c6b0d2aadcf8cc1abdae0373b38.image.100x47.jpg

Sideboxes Anywhere is making the image src this
http://www.domain2.com/room/bmz_cache/e/e6dc5c6b0d2aadcf8cc1abdae0373b38.image.100x47.jpg

the issue is that these 2 domains point to the same location
https://www.domain1.com/room/
https://www.domain2.com (sub domain set for /room/ folder of https://www.domain1.com)

i could do a simple str_replace() to change domain2 to domain1
or remove room/ from domain2 but i do not know where in the zencart php the img src tags are output.

6 May 2009, 5:50 PM
#5
smellnoevil avatar

smellnoevil

New Zenner

Join Date:
May 2009
Posts:
4
Plugin Contributions:
0

Re: Can I place the featured sidebox into another website?

stevesh:

Check this thread:

http://www.zen-cart.com/forum/showthread.php?t=33410

In this thread they never solved the issue with using Image Handler and Sidebox Anywhere. Since that thread is old and died out I still need help.