Re: Image Handler 2 Support
Quote:
Originally Posted by
timebombx
Would this likely be a problem with the hover.jss file?
No such file in the IH2 files.. A link to your site might be helpful..
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
No such file in the IH2 files.. A link to your site might be helpful..
http://www.d2west.com/index.php?main...05_332_319_142
An example is the first image I tried it with.
Re: Image Handler 2 Support
Quote:
Originally Posted by
timebombx
It's just as I posted earlier.. You have not copied over all the files in the IH2 package.. Copy over ALL of the IH2 files to your store.. You are missing files from the includes/template/classic folders..
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
It's just as I posted earlier.. You have not copied over all the files in the IH2 package.. Copy over ALL of the IH2 files to your store.. You are missing files from the includes/template/classic folders..
Hey Diva, what version of the javascript is in the classic js folder?
Re: Image Handler 2 Support
Quote:
Originally Posted by
nigelt74
Hey Diva, what version of the javascript is in the classic js folder?
Your javascript was copied over to ALL of the template folders.. In fact I made sure that all of the template folders (custom, default and classic) all contained the same files and folders. timebombx has NONE of the Classic template javascript files in his store files..
Re: Image Handler 2 Support
In the last release of Image Handler Rev 8
admin/includes/modules/category_product_listing.php
around line 217
Zen Cart 1.39 code
PHP Code:
$products_count = 0;
if (isset($_GET['search']) && !empty($_GET['search']) && $action != 'edit_category') {
// fix duplicates and force search to use master_categories_id
/*
Image Handler version
PHP Code:
$products_count = 0;
if (isset($_GET['search'])) {
Then line 239-259 Missing this chunk in the image handler
PHP Code:
*/
$products_query_raw = ("select p.products_type, p.products_id, pd.products_name, p.products_quantity,
p.products_image, p.products_price, p.products_date_added,
p.products_last_modified, p.products_date_available,
p.products_status, p2c.categories_id,
p.products_model,
p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute,
p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping,
p.products_quantity_order_max, p.products_sort_order,
p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, "
. TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and (p.products_id = p2c.products_id
and p.master_categories_id = p2c.categories_id)
and (
pd.products_name like '%" . zen_db_input($_GET['search']) . "%'
or pd.products_description like '%" . zen_db_input($_GET['search']) . "%'
or p.products_id = '" . zen_db_input($_GET['search']) . "'
or p.products_model like '%" . zen_db_input($_GET['search']) . "%')" .
$order_by);
What exactly is the different between these 2 occurrence? Was this intentionally or error??
The file provided look similar to 1.38a but the latest release shows that there were changes to that particular file that are related to Search Empty Field.
Any advise would be appreciated as I am doing an upgrade to Zen Cart on the main site (Testing Server).
Re: Image Handler 2 Support
Looks like this was unintentionally overlooked..:blush: I will update the download package and resubmit.. I will also take a quick look through the rest of the core Zen files to make sure we didn't overlook other core Zen files (I think this is a one off thing though..) Thanks for pointing this out! :smile:
Quote:
Originally Posted by
CoolCarPartsOnline
In the last release of Image Handler Rev 8
admin/includes/modules/category_product_listing.php
around line 217
Zen Cart 1.39 code
PHP Code:
$products_count = 0;
if (isset($_GET['search']) && !empty($_GET['search']) && $action != 'edit_category') {
// fix duplicates and force search to use master_categories_id
/*
Image Handler version
PHP Code:
$products_count = 0;
if (isset($_GET['search'])) {
Then line 239-259 Missing this chunk in the image handler
PHP Code:
*/
$products_query_raw = ("select p.products_type, p.products_id, pd.products_name, p.products_quantity,
p.products_image, p.products_price, p.products_date_added,
p.products_last_modified, p.products_date_available,
p.products_status, p2c.categories_id,
p.products_model,
p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute,
p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping,
p.products_quantity_order_max, p.products_sort_order,
p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, "
. TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and (p.products_id = p2c.products_id
and p.master_categories_id = p2c.categories_id)
and (
pd.products_name like '%" . zen_db_input($_GET['search']) . "%'
or pd.products_description like '%" . zen_db_input($_GET['search']) . "%'
or p.products_id = '" . zen_db_input($_GET['search']) . "'
or p.products_model like '%" . zen_db_input($_GET['search']) . "%')" .
$order_by);
What exactly is the different between these 2 occurrence? Was this intentionally or error??
The file provided look similar to 1.38a but the latest release shows that there were changes to that particular file that are related to Search Empty Field.
Any advise would be appreciated as I am doing an upgrade to Zen Cart on the main site (Testing Server).
Re: Image Handler 2 Support
No problem.
If you could please post what needs to be change on here. I am half way through updating the site since we have a lot of custom work it is taking forever to merge every file.
Re: Image Handler 2 Support
From the readme file:
Quote:
Uninstallation
- In Admin > Tools >Image Handler2, click on "Remove Image Handler from database", then delete all files.
Quote:
Originally Posted by
ardhill
How can I get these bits of IH out of my ZenCart?
I have a cart that had been messed about a bit, and now has been upgraded.
Image Handler was not installed on the new upgrade, but there are entries in the Admin > Configuration > Images menu, which look like Image Handler entries. I guess they are from the database. I would like to get these out of my cart to clean it up.
http://i85.photobucket.com/albums/k5...ge-handler.jpg
I had a look at a copy of IH and there is no uninstall sql, so how can I get rid of these entries pleaese?
Is there an uninstall .sql patch?
Is it simple enough to do it manually from php MyAdmin? If so - how?
Thanks
Paul
Re: Image Handler 2 Support
Well found!! Good job you're on the ball!! and i thought is was the job of the guys who pass/fail mods for download to do this....
:P
Quote:
Originally Posted by
CoolCarPartsOnline
In the last release of Image Handler Rev 8
admin/includes/modules/category_product_listing.php
around line 217
Zen Cart 1.39 code
PHP Code:
$products_count = 0;
if (isset($_GET['search']) && !empty($_GET['search']) && $action != 'edit_category') {
// fix duplicates and force search to use master_categories_id
/*
Image Handler version
PHP Code:
$products_count = 0;
if (isset($_GET['search'])) {
Then line 239-259 Missing this chunk in the image handler
PHP Code:
*/
$products_query_raw = ("select p.products_type, p.products_id, pd.products_name, p.products_quantity,
p.products_image, p.products_price, p.products_date_added,
p.products_last_modified, p.products_date_available,
p.products_status, p2c.categories_id,
p.products_model,
p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute,
p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping,
p.products_quantity_order_max, p.products_sort_order,
p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, "
. TABLE_PRODUCTS_TO_CATEGORIES . " p2c
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and (p.products_id = p2c.products_id
and p.master_categories_id = p2c.categories_id)
and (
pd.products_name like '%" . zen_db_input($_GET['search']) . "%'
or pd.products_description like '%" . zen_db_input($_GET['search']) . "%'
or p.products_id = '" . zen_db_input($_GET['search']) . "'
or p.products_model like '%" . zen_db_input($_GET['search']) . "%')" .
$order_by);
What exactly is the different between these 2 occurrence? Was this intentionally or error??
The file provided look similar to 1.38a but the latest release shows that there were changes to that particular file that are related to Search Empty Field.
Any advise would be appreciated as I am doing an upgrade to Zen Cart on the main site (Testing Server).