Totally Zenned
- Join Date:
- Jul 2008
- Posts:
- 772
- Plugin Contributions:
- 0
Updating Mod for 150 - Little Problem
I'm attempting to update the Recently Viewed Items mod to be compatible with ZC150.
However, after install, the product images showing in the sidebox are full sized images, instead of smaller thumbs, even though the code in templates/YOUR_TEMPLATE/sideboxes/tpl_recent_products.php calls a smaller image:
[php] $content .= '<a href="' . zen_href_link(zen_get_info_page($recent_products->fields["products_id"]), 'products_id=' . $recent_products->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />' . $recent_products->fields['products_name'] . '<br />' ; [/php]You can see the issue in my test store. Just view a couple products and you'll see the issue straight away.
This mod worked just fine for me in ZC139. All I did to update it to 150 was copy the mod's code from old outdated ZC files (dating back to 1.3.8) into their new 150 counterparts....but obviously I've still messed up somewhere.
Suggestions?