if there is something in custom_template/jscript he will not get a load, even if script loaded in template_default/jscript.
Zen Cart will only read the jscript in custom and ignore all the rest.
Printable View
Agreed. m3s_4ev3r you have the tab lite jscript in your template's jscript folder so the image handler jscript must go in there too.
Also, off topic, it's a bad idea to use "classic" as your template directory name as many of your changes will get over-written when you next upgrade. I'd recommend renaming them all and then re-setting your template in the Admin.
Oh my good, you were right, the hover js file was only in the template_default directory, i copied it in the classic directory and now everything works, AMAZING, and i spent hours reading and looking to the code. I remember checking the html output and seeing the hover js file in the head section but you are right.
Working at night isn't that good :)). Thanks a lot, and I will create a new theme name so at the next release i don't get all my design and settings screwed up. I was thinking on making some designs improvements anyway.
Thank you very much Zen Cart community :).
Hi,
I've just installed IH2 and I have got it working to some extent. It does a really nice job of resizing the images, very nice!
I am having a few problems most probably something to do with the way I have installed it.
I'm running my setup locally using WAMP. And I have my zencart installed in the directory zencart. So under zencart I have admin, images , includes etc...
I've copied all the directories for IH into the zencart directory.
There's a few strange things that are not working but most noticeably When I go to:
Tools->Image handle 2->preview
I cannot see any of the preview images..
when I click to view image my browser tells me:
The requested URL /zencart/zencart/admin/images/ih-test.png was not found on this server.
It seems that somehow IH2 thinks that there is another dir called zencart in my original zencart directory.
I'm sure this is simple to fix but I'm not sure where to look.
Any help would be great.
Thanks.
I've trying to figure out this for a couple of days, i searched the forum but i could not find a problem similar to mine or at least i did not see one.
My problem is: i have this mod installed on a testing site and i am able to add an image from the IH2 under the Admin, the site however is using the Zen Cart mechanism of displaying the same image with different dimensions and the same size, the only thing this mod does is displaying a medium image size when hover with mouse over the small image.
Is there a way to force Zen Cart to use this mod? as i said it is installed and partially working (the hover part).
Other things that is not working:
The Zoom image is not displaying
the images are not resizing
I appreciate any help to get me started. Thanks.
Ok, it is working now and beautifully if i may say.
I think what happened is the following:
I tried to use the admin to clear the cache from bmz_cache the i got an error that the files were not deleted, i checked the permission for that directory and it was 777 however the sub folder with only read/execute permission, i deleted the sub folders manually and wallah, it is working.
Well another thing i did, I cut the grass (usually do that when i get frustrated) maybe it has something to do with it. :lamo:
As anyone else seen this problem?
In the admin pages in Tools->Image handle 2->preview
The images are not showing up. I've looked at the code and found that in
image_handler.php it seems to be adding the extra zencart directory in here
one of the lines of code looks like this:
<td><img style="border: 1px solid #000000; background:url(images/checkpattern.gif)" src="<?php echo HTTP_SERVER . DIR_WS_CATALOG . $images['pngsource']?>" /></td>
if I remove the DIR_WS_CATALOG and replace it with '//' it sees the image but I'm not sure that this is the correct solution.
If anyone as seen this or knows how to fix it please let me know.
Thanks