osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> liste client dans l'admin, augmenter le nombre de clients par page
goozoo
posté 6 Oct 2005, 16:07
Message #1


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 50
Inscrit : 3-May 04
Membre no 2392



Hello!
Voilà, je n'arrive a afficher que 5 clients par page et je suis obligé de tourner la page suivante pour voir les 5 autres...etc...
Comment faire pour augmenter la variables?
Je souhaiterais en afficher au moins 15 par page.
Je ne trouve aps la commande
Please help !
Merci pour ce super forum!
Y biggrin.gif


--------------------
goozoo

MS2 fr + collisimo + url rewriting YASU + minimum order + SMS alert + kelkoo
---------------------------------------
actuellement en prod
Go to the top of the page
 
luc_13
posté 6 Oct 2005, 17:35
Message #2


Ceinture orange+ OSC
Icône de groupe

Groupe : Membres
Messages : 396
Inscrit : 11-May 05
Lieu : Marseille
Membre no 5828



Admin/customers.php
Cherche :
CODE
   $customers_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS,


Remplace par :
CODE
$customers_split = new splitPageResults($HTTP_GET_VARS['page'], '50',

Tu en auras 50 par page.

Pour modifier le texte "Affiche 1 à 50 (sur 152 clients)" :

Cherche :
CODE

                   <td class="smallText" valign="top"><?php echo $customers_split->display_count($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_CUSTOMERS); ?></td>
                   <td class="smallText" align="right"><?php echo $customers_split->display_links($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'], tep_get_all_get_params(array('page', 'info', 'x', 'y', 'cID'))); ?></td>


Remplace :
[/CODE]MAX_DISPLAY_SEARCH_RESULTS[CODE] par 50 pour cet exemple sur les 2 lignes.


--------------------
MS2 fr + Prices for logged_in users only + Categories and Products Images Folder Tree + Column Product Listing + Quantity Price Breaks Per Product + Products Short Description + Bundled products + Credit Class & Gift Voucher + Partita IVA + Back button improved + AdminMS2fr_v2.3 + User tracking with Admin 1.4.2 + Customer Info Preview 1.1 + Order editor 1.56 + Featured products v1.5.5 + Box Image Thema V2.7 + Quick_updates v2.7 + une bonne dose de bricolage deci-delà...
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 19th June 2013 - 23:45
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)