I've just submitted v2.1.1 for review, correcting that parse-error introduced in v2.1.0.
Was just hoping the new files would cure the non-changing images on one site. Will try the new file.
I'm sure you don't get told enough how those of us ZCers appreciate your work on our behalf.
Used to have a sign on my desk that said, "Pobody's Nerfect!" It's my mantra!
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
No more errors but, the images still do not change.
Think I'll be going to a new install test site.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
Seems that there is a php error in putting the new files together. Includes/templates/template_default/sideboxes/tpl_specials_scrolling.php line 16should beCode:$content .= '<a href="' . zen_href_link(zen_get_info_page($ss_pid), 'cPath=' . zen_get_generated_category_path_rev($scrolling_specials->fields["master_categories_id"]) . "&products_id=$ss_pid"]) . '">' . zen_image(DIR_WS_IMAGES . $scrolling_specials->fields['products_image'], $ss_pname, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);Code:$content .= '<a href="' . zen_href_link(zen_get_info_page($ss_pid), 'cPath=' . zen_get_generated_category_path_rev($scrolling_specials->fields["master_categories_id"]) . ["&products_id=$ss_pid"]) . '">' . zen_image(DIR_WS_IMAGES . $scrolling_specials->fields['products_image'], $ss_pname, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
The above gets the images to change on a new install with demo items. I get the exact same console readings from the new and the old although the old never changes the image.
I'll slowly add other mods to see when it breaks.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
Actually, the change should be to remove those brackets:
This is staged on the plugin's GitHub repository for a v2.1.2 release.Code:$content .= '<a href="' . zen_href_link(zen_get_info_page($ss_pid), 'cPath=' . zen_get_generated_category_path_rev($scrolling_specials->fields['master_categories_id']) . "&products_id=$ss_pid") . '">' . zen_image(DIR_WS_IMAGES . $scrolling_specials->fields['products_image'], $ss_pname, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
I've just submitted v2.1.2 to the Zen Cart Plugins for review, correcting the issue that @dbltoe identified in post #56. I'll update this thread when the plugin is available for download.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1909
Bookmarks