Zen Follower
- Join Date:
- Jan 2010
- Location:
- Richmond, Virginia, United States
- Posts:
- 122
- Plugin Contributions:
- 0
Post #1 by jmsnyder23
Hi,
I'm upgrading (finally!) from 1.3.9 to 1.5.4 and am having a heck of a time going about it. Currently my issue is the following:
On my main page, I have the New Products listed (they work fine) and, under them, the Upcoming Products in the center column. I want both boxes to be identical -- that is, the products will be displayed with their respective images, like they currently are on my old site.
But for whatever reason, the Upcoming Products all appear with the no_picture.gif image instead of the book cover of the product. The correct images are on my server, and when you click on the products to go to the product page, you see the right image. But I can't for the life of me figure out why they aren't appearing on the front page.
The code I'm using is this:
<?php for($i=0, $row=0; $i < sizeof($expectedItems); $i++, $row++) { $rowClass = (($row / 2) == floor($row / 2)) ? "rowEven" : "rowOdd"; echo ' <div class="centerBoxContentsUpdated centeredContent back">' . "\n"; echo ' <a href="' . zen_href_link(zen_get_info_page($expectedItems[$i]['products_id']), 'cPath=' . $productsInCategory[$expectedItems[$i]['products_id']] . '&products_id=' . $expectedItems[$i]['products_id']) . '"> ' . zen_image(DIR_WS_IMAGES . $expectedItems[$i]['products_image'], $expectedItems[$i]['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br clear=all /><strong><a href="' . zen_href_link(zen_get_info_page($expectedItems[$i]['products_id']), 'cPath=' . $productsInCategory[$expectedItems[$i]['products_id']] . '&products_id=' . $expectedItems[$i]['products_id']) . '">' . $expectedItems[$i]['products_name'] . '</a></strong><br clear=all />' . zen_get_products_manufacturers_name($expectedItems[$i]['products_id']) . '<br clear=all />' . "\n"; echo ' ' . zen_date_short($expectedItems[$i]['date_expected']) . '<br clear=all /><br clear=all /></div>' . "\n"; } ?>Also, as a side note, the Upcoming Products won't list in descending order by release date, but I can figure that out (I hope). This is a more pressing issue.
If anyone can help, I would much appreciate it.