For the images ... this gets more challenging ...
You can try adding the following define() into your index.php file that calls single_sidebox:
<?php
$zcSBmodule='whats_new.php';
define('DIR_WS_IMAGES' , 'http://www.tjrstores.com/images/');
require('/path/to/single_sidebox.php');
?>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
hahahaha
you read my mind..
You just gave me the code to sort the images.PHP Code:/*
* Determine working directory
*/
$startingDir = getcwd();
$zcDir = realpath(dirname(__FILE__));
chdir($zcDir);
define('STRICT_ERROR_REPORTING', false);
/*
* Set default image dir, which overrides the usual Zen Cart settings in case the working dir is not the same
*/
// define('DIR_WS_IMAGES', $zcDir . '/images/');
What is this bit for?
PHP Code:/**
* Load common library stuff
*/
require('includes/application_top.php');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
It's still trying to use the default of 'images/'
ie:
<img src="images/img4622040.jpg" alt= ...
I'm not sure if that's a result of the files being on separate domains/accounts, or if the change just wasn't uploaded to the server completely.
It's probably the separate domains issue
Did you do the stylesheet part too?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
It could well be. Which is a real shame because if we could get this working so it will work on separate server sites etc then it would be of great use for a lot of things in the future.
Alot of members on IWAC Stores have Zen Carts and this woudl be a great tool for them to use to cross promote etc.
Hmmm ... I just did the DIR_WS_IMAGES thing, using a full URL, and it seems to pull the images from the other domain just fine ... and they're on servers on opposite sides of the continent.
So that makes me wonder if the new line got uploaded right.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
You've got it working, with full URL for images, on your new_stock.php script, but not on the iwac site.
What's the code look like now, on the server, for the iwac site's setup?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.