This is a discussion on Module Display Order Matches Sort Order in Admin within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Module sorting was not correct. For example it was sorted 100, 200, 35, 400, 80. To fix that replace: function ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Module sorting was not correct. For example it was sorted 100, 200, 35, 400, 80. To fix that replace: function resort_array($a, $b) { return strcmp($a['sortnumber'], $b['sortnumber']); } with : function resort_array($a, $b) { return ($a['sortnumber'] > $b['sortnumber']); } That's all. More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create order module in admin with 2 x tax | dixxy | osCMax v2 Features Discussion | 3 | 10-10-2006 03:29 PM |
| Product Sort Order | davem | osCMax v2 Customization/Mods | 4 | 05-21-2006 04:33 PM |
| sort order to pot!! | moreduff | osCMax v1.7 Discussion | 0 | 04-12-2005 04:57 AM |
| Product Sort Order | xtech | osCMax v1.7 Discussion | 6 | 04-08-2005 07:49 AM |
| Change sort order on new products | Lord | osCommerce 2.2 Modification Help | 2 | 03-23-2005 03:05 AM |