Last edited by DivaVocals; 26 Jun 2014 at 06:07 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I come for help once again :-) ok, im not using hover effects so i want to get rid of this because i dont want to call on something i dont use for mobile sake.
What i did was comment out these lines of init_image_handler.phpHTML Code:<script type="text/javascript" src="includes/templates/domak/jscript/jscript_imagehover.js"></script>
Everything seems to work fine, but did i overlook something?HTML Code:// $template_files = array( // array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/additional_images.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/additional_images.php'), // array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/main_product_image.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/main_product_image.php'), // array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/css/style_imagehover.css',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/css/style_imagehover.css'), // array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/jscript/jscript_imagehover.js',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/jscript/jscript_imagehover.js'), // array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/popup_image_additional/tpl_main_page.php',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/popup_image_additional/tpl_main_page.php') // );
No, i disabled it anyway in admin. But when loading the page it still looked for script/jscript_imagehover.js and that's using unnecessary loading time. And because a lot of customers using phones i wanted to get rid of it. It works fine, but i'm always scared i overlook some consequences. English is not my native language so sometimes is hard to express myself clearly :-)
Wasn't meant to be negative in my post, just wanted more information to know what you wanted.
That is easily doable without touching those files. Bascially the way zencart works is that it loads all files in the jscript folder starting with "jscript_" and all css files in the css folder starting with "style". So to stop them from loading, just remove them or or take away the "jscript" and "style" from the file name. Once that is done, those files will never be loaded on your store side. I have done this in the past as image hover is really not needed and customers do get annoyed by things popping up on their screen.
If you want to turn off the image hover there is an admin setting to manage that and the image popup STOPS.. if you don't want the javascript and CSS file which supports the image hover to load, then remove the JS and CSS files from your templates JS and CSS folders... No need to touch ANY of the IH4 code AT ALL..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
@yatitai it was not taken as negative, thanks for replying! @ divavocals, thanks for the reply! I learned again something today :-) thank you for being there.
I tried to install without result. I tried it on a clean install, and on my webshop. It keeps saying:
There's no htaccess in that map on my ftp client.Code:Missing or unreadable file:mywebshop.nl/public_html/fargesiabamboe/bmz_cache/.htaccess
How can I fix this issue?
Last edited by tomdonker; 3 Jul 2014 at 10:30 AM.
Bookmarks