So far so good in 1.56c... Even snuck in the new - One click return to the TOP - primary categories listing button
![]()
So far so good in 1.56c... Even snuck in the new - One click return to the TOP - primary categories listing button
![]()
Last edited by twitchtoo; 24 Dec 2019 at 03:49 AM.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
And this is right the place, where I have been stuck :-D
I resolved categories, but was not able to add image to collect_info.php with my poor knowledge and skills
I've already updated the collect_info page with category image, product image, product insert image and attribute images. Product management like copy, move and delete are ready for 1.56c as well.
Just working on the rest of the attributes, specials etc now. Still on schedule for end of week release![]()
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
All delays aside, TAP Thumb for 1.56c has evolved to include some important production buttons for navigating products and attributes found within the product pages and now supports alternate product type admin collect_info display.
You can now see what attributes if any are attached to the product!
Coding has wrapped, testing department has a review pending in the morning then module release!
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
Wonderful - this looks really useful! I could finally abandon the old timer called Easy Attributes!
Twitch Admin Product Thumbnails (TAP Thumb)
Version 20e for Zen Cart 1.56c
January 19.2020
Submitted to the forum here:
https://www.zen-cart.com/downloads.php?do=file&id=1346
AND
Available with screenshots on my site:
http://twitchtoo.com/tR_codeSHOP/
With your supportfor my support!
Happy New Year and Thank you to all of those who have contributed over the past 20 years!
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
First off, thank you so much for this update! This is such a useful addon.
I had been having an issue using this in conjunction with Image Handler 5. Specifically on the admin side resulting in a fatal php error. For anyone else having this issue, I tracked the issue down to the language file. My solution, while probably somewhat crude, was to open the admin/includes/languages/english/extra_definitions/TAP_thumb.php and commented out the bottom two lines of code so that my file only looked like this:
I also renamed the file to thumb.php, as for some reason earlier in my troubleshooting I had commented out the entire file and it had not resolved my issue. Anyway, things have been working fine as far as I can tell, will report back if I encounter any anomalies. Hope this is helpful to someone. I am going to cross post in the IH5 thread as well.Code:<?php // ----- //Twitch admin images // define('TABLE_HEADING_TAPTHUMB_IMG', 'Image');
Could you elaborate on the page you were receiving this error? It's unusual that this language file would cause a fatal error. Renaming it will simply load the same information - the define as text 'Image' as it was - having the original name relative to how the language file is being called.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
Ok, yes, I actually came back to post a better hotfix, but I will also explain the error more clearly.
The conflict seems to be with IH5 not wanting to play nice. At first, I resolved the error by removing the language file, just by process of elimination - but this wasn't a long term solution. So then I tried commenting out various lines, which doesn't help because, of course, those titles are sort of needed. So what I ended up doing was copying the three lines of code from TAP_thumb directly into the IH5 file, image_handler_extra_definitions, and removing the other file completely. Why this works is beyond me... website management is an unofficial job title of mine, so I have no useful answers.
The error itself only showed up when an attempt was made in the admin to make a change to the database. So navigating turned up no fatal error, but if you attempted to edit a product or change a setting, hitting save would result in a blank page. The log file showed the following:
#1 header() called at [/****/admin/includes/init_includes/init_templates.php:28]
#2 require(/****/admin/includes/init_includes/init_templates.php) called at [/public_html/includes/autoload_func.php:48]
#3 require(/public_html/includes/autoload_func.php) called at [/****/admin/includes/application_top.php:171]
#4 require(/****/admin/includes/application_top.php) called at [/****/admin/product.php:9]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /****/admin/includes/languages/english/extra_definitions/thumb.php:1) in /****/admin/includes/init_includes/init_templates.php on line 28.
[11-Feb-2020 14:50:48 America/Chicago] Request URI:/****/admin/product.php?cPath=3&pID=346&action=update_product, IP address: 97.107.224.230
#1 header() called at [/****/admin/includes/functions/general.php:26]
#2 zen_redirect() called at [/****/admin/includes/modules/update_product.php:120]
#3 require(/****/admin/includes/modules/update_product.php) called at [/****/admin/product.php:34]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /****/admin/includes/languages/english/extra_definitions/thumb.php:1) in /****/admin/includes/functions/general.php on line 26.
I had the error on a fresh install as well, one that only had IH5 and Admin images plugin installed. I don't understand why removing the language file and adding the info into the IH5 language file fixed this for me. I am having to upgrade 4 different websites, and I have had the same issue with the first two, so I am fairly certain it's not me... although I really can't say that with 100% certainty.
Edit: I should clarify this error log shows my edited version of your file: thumb.php is just the edited name of TAB_Thumb.php![]()
Last edited by k8ee; 11 Feb 2020 at 10:25 PM.