This is a discussion on Delete Category Image (ONLY) within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Lets have the category image delete button displayed if there is category image is available: Change Step 3 with following ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Lets have the category image delete button displayed if there is category image is available: Change Step 3 with following changes: Find: ------------------------------------ $contents[] = array('text' => ' ' . tep_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . ' ' . $cInfo->categories_image); Add following under it: ------------------------------------------- if ($cInfo->categories_image) $contents[] = array('text' =>' ' . tep_image_button('button_delete_image.gif', IMAGE_DELETE) . ''); ----------------------------------------------- Finally, don't forget to produce and add "button_delete_image.gif" in your /catalog/admin/includes/languages/[YOUR_LANGUAGE]/images/buttons folder More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete Category Image (ONLY) | michael_s | New osCommerce Contributions | 0 | 05-03-2008 07:06 AM |
| Delete Category Images V 1.0 | michael_s | New osCommerce Contributions | 0 | 05-11-2007 04:13 PM |
| Delete Category Images V 1.0 | michael_s | New osCommerce Contributions | 0 | 01-26-2007 09:21 PM |
| Category Image | jewls | osCMax v2 Customization/Mods | 1 | 01-24-2007 10:41 AM |
| Image folders to match category names | digitalbee | osCommerce 2.2 Modification Help | 0 | 08-07-2004 12:19 AM |