This is a discussion on Site Map MS2-2.2 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This is a little fix for inactive categories. No file attached just a where added to the function "osC_CategoryTree : ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| - Serach this function and replace with the given one. _____________________ function osC_CategoryTree($load_from_database = true) { global $languages_id; $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and c.categories_status = '1' order by c.parent_id, c.sort_order, cd.categories_name"); ______________________ More...
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Site URL | shoppingmantra | osCMax v2 Installation issues | 4 | 02-26-2008 01:31 PM |
| Site Map MS2-2.2 | michael_s | New osCommerce Contributions | 0 | 02-19-2008 07:21 AM |
| Site went down | jschafer52 | osCMax v2 Customization/Mods | 2 | 07-20-2006 05:39 PM |
| can someone fix my site | jcomputers | osCMax v1.7 General Mods Discussion | 2 | 01-29-2006 11:04 AM |