I'm sorry, don't mean to bump my own thread here, but I have discovered the correct page to edit to get the icon code up on the index.php?main_page=index&cPath=1 page. It happens to be the tpl_index_product_list.php template. Why the word "list" in there didn't slap me while I was looking is anyone's guess.
However I've run into another problem along the way. When I insert the code copied directly from the tpl_product_info_display.php page, I get the "Missing Image" gif instead of the graphic I uploaded when creating the category, which should be a basket of fruit. This displays correctly on both the main index and the product page when the appropriate switches are set, however, no luck on my new and certainly not yet improved product listing page.
Here is my current code for product_list...
Code:
<div class="centerColumn" id="indexProductList">
<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
<!-- MODIFIED FOR TEMPLATE - charlow -->
<?php
/**
* display the category icons
*/
require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?>
<?php } ?>
<!-- END MODIFICATION FOR TEMPLATE - charlow -->
<?php
if ($do_filter_list) {
$form = zen_draw_form('filter', zen_href_link(FILENAME_DEFAULT), 'get') . '<label class="inputLabel">' .TEXT_SHOW . '</label>';
?>
If the entire page code is needed, please let me know and I'll post it. Thanks again.
Bookmarks