thomas_lundqvist Posted June 5, 2009 Share Posted June 5, 2009 Hi. I want to see more orders in admin/order.php Now its showing 1 to 10 but I would like to see 1 to 50. TIA! /Thomas Running osCommerce Online Merchant v2.2 RC2a - http://www.takbox.se/butiken Link to comment Share on other sites More sharing options...
spooks Posted June 5, 2009 Share Posted June 5, 2009 controled with MAX_DISPLAY_SEARCH_RESULTS change that to smthing else on page, ie MAX_DISPLAY_SEARCH_RESULTS_ADMIN and add a define for it in configure.php Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
thomas_lundqvist Posted June 5, 2009 Author Share Posted June 5, 2009 Thanks Sam but.... ..... for a php-stupid like me that don't give me much :) :( I get it that I shall change MAX_DISPLAY_SEARCH_RESULTS to MAX_DISPLAY_SEARCH_RESULTS_ADMIN in admin/orders.php. But how should a define for MAX_DISPLAY_SEARCH_RESULTS_ADMIN look like? define(MAX_DISPLAY_SEARCH_RESULTS_ADMIN, '50'); ? I have been searching for MAX_DISPLAY_SEARCH_RESULTS to find out how a define for that looks like but I have not found it. Regards Thomas Running osCommerce Online Merchant v2.2 RC2a - http://www.takbox.se/butiken Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted June 5, 2009 Share Posted June 5, 2009 MAX_DISPLAY_SEARCH_RESULTS is a system parameter and stored in the database table configuration. It would be possible to add a parameter such as the mentioned above, but it needs some knowledge to do this and not to mess up the system. The fastest and easiest way would be to replace the MAX_DISPLAY_SEARCH_RESULTS with the Number 50 in orders.php. Disadvantage is that you have to edit code any time you want to change the number. Anyways, there are more elegant solutions for this task, but as mentioned they ned some programming skills. Link to comment Share on other sites More sharing options...
thomas_lundqvist Posted June 5, 2009 Author Share Posted June 5, 2009 Thanks a lot! Works great and it was an enough challange for me.... :) Have a great weekend! Regards Thomas Running osCommerce Online Merchant v2.2 RC2a - http://www.takbox.se/butiken Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.