Guest Posted August 30, 2006 Share Posted August 30, 2006 Hi, I guess this shouldn't be that dificult, but I can't find any help. On the main catalog page, after "what's new here?" and "Welcome Guest..." and before the "New Products...", I want to display an index with pictures of the main categories, similar as if you go to the main categories, and it shows you an index with pictures of the sub-categories. Does anyone know? Link to comment Share on other sites More sharing options...
jpweber Posted August 30, 2006 Share Posted August 30, 2006 Hi,I guess this shouldn't be that dificult, but I can't find any help. On the main catalog page, after "what's new here?" and "Welcome Guest..." and before the "New Products...", I want to display an index with pictures of the main categories, similar as if you go to the main categories, and it shows you an index with pictures of the sub-categories. Does anyone know? Yes Nisko. First, upload your category images to your catalog/images folder on your server if they're not already there. You'll have to go into you ADMIN tool, probably at http://www.yoursite.com/catalog/admin, and log on to your admin tool. You'll then click 'languages' and then, assuming your default language is highlighted, click 'details'. Find index.php, and click it. You'll then have to make it something like this: <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', ' Put any test you want to put right here .... whtever<br><br> <table border="0" cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="50%" align="center" valign="top">Category 1:<br><img src="/catalog/images/category1pic.jpg"></td> <td width="50%" align="center" valign="top">Category 2:<br><img src="/catalog/images/category2pic.jpg"></td> </tr> <tr> <td width="50%" align="center" valign="top">Category 3:<br><img src="/catalog/images/category3pic.jpg"></td> <td width="50%" align="center" valign="top">Category 4:<br><img src="/catalog/images/category4pic.jpg"></td> </tr> </table> '); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); etc., etc. .... That should do it for you. Good luck. Let me know if you run into any problems. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.