
Originally Posted by
torvista
Thanks for that,
I don't spot anything wrong unless Firefox+HTML validator tells me about it!
Coincidentally I have finally fixed everything I found wrong with the mod and uploaded a version 1.6.
Apart from the fixes detailed below, I have included a description of how the default templates work to help me and people like me who have found it difficult to identify what goes on and how it relates to the admin settings.
regards
Steve
Changes/Bugfixes for v1.6
6/2/2010
1) tpl_modules_product_listing.php line 33
productsListingTopNumber and productsListingBottomNumber were classes instead of ids, class was missing too.
2) extra defines required for product listing table headings
3) Specials listing was missing manufacturer, model, quantity and weight when these optional fields were selected for display in Admin-Configuration-Product Listing. Code added to sql query in
\includes\modules\pages\specials\header_php.php
4) When Product Listing was chosen as columns instead of rows, the Manufacturer and Model were butted together due to missing div and class definitions. Added div and classes to quantity and weight items, and weight unit define to weight.
5)
\includes\modules\TEMPLATE\new_products.php
\includes\modules\TEMPLATE\featured_products.php
\includes\modules\TEMPLATE\specials_index.php
All were missing code to produce product listing table heading when original listing option 1 selected for index page ($title was not defined)
Bookmarks