This is a discussion on Multi-Product Update v1.00 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Multi-Product_Update_1_5e by Luisete Earlier archive uploaded by me had a wrong name, but the file inside are ok. New features: ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Multi-Product_Update_1_5e by Luisete Earlier archive uploaded by me had a wrong name, but the file inside are ok. New features: - Fix sorting issue (all versions?) The sorting feature seems to fail when register_globals = Off After lines: $currencies = new currencies(); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); $search = (isset($HTTP_GET_VARS['search']) ? $HTTP_GET_VARS['search'] : ''); Paste: // Fix for sorting issue with register_globals = Off $listing = (isset($HTTP_GET_VARS['listing']) ? $HTTP_GET_VARS['listing'] : ''); - Maintain sort of products across pages (if they have been previously sorted) while we are updating them or browsing, being able to re-sort products without lose page number that we are viewing. Backup previous version before overwrite it. I hope it works fine. Regards --------------------- Multi-Product_Update_1_5e by Luisete El anterior archivo que subí tenía mal el nombre, pero su contenido estaba bien. Características nuevas: - Arreglado error a la hora de ordenar los productos (¿Todas las versiones?) El ordenamiento parece fallar cuando register_globals = Off Después de las líneas: $currencies = new currencies(); $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); $search = (isset($HTTP_GET_VARS['search']) ? $HTTP_GET_VARS['search'] : ''); Pegar: // Fix for sorting issue with register_globals = Off $listing = (isset($HTTP_GET_VARS['listing']) ? $HTTP_GET_VARS['listing'] : ''); - Se mantiene el orden de los productos (si los hubiéramos ordenado previamente) mientras los vamos actualizando o navegando por ellos, siendo capaces de reordenar los productos manteniendo sin perder la página que estemos viendo. Haz copia de seguridad de la versión anterior antes de sobreescribirla. Espero que todo funcione bien. Saludos Luisete www.flashpc.es More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 01-08-2008 10:10 AM |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 08-26-2007 11:34 AM |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 07-17-2007 12:27 AM |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 07-16-2007 05:23 AM |
| Multi-Product Update v1.00 | michael_s | New osCommerce Contributions | 0 | 07-13-2007 09:18 AM |