Community Add-Ons
| Maintainers: | jeffz |
admin/site - separate search results display
for osCommerce Online Merchant v2.2
Search result in www section and diplay in admin section are being governed by the same MAX_DISPLAY_SEARCH_RESULTS value. When you choose to display just a few (eg.2) results on www (for design purposes) your admin section becomes unlivable - try to go through 100 plus customers records when only eg. 2 are being displayed on the page.
This little trick separates them and ads aditional option field in configuration/maximum values (Admin section item display number) -
I did it from admin perspective - but if you want to and you know osCo, you can just change product_listing.php in catalog/includes/module - you must then also change *.sql file to match.
If not do as I did.
Explanation what to do and where in admin display.txt.
Do not forget to load up *.sql through phpMyAdmin
All the best,
Jeffz
previous version works fine, but those unfamiliar with MySQL may get scared by "division by zero" errors in Admin section - reason? simple - display number wasn't specified in upload MySQL file for admin/configuration/maximum values -
new version of MySQL file has preset display value (25), so no "blood freezing" MySQL error messages will popup anymore.
Of course you can change that 25 to any you like - just go to configuration/maximum values and pick a value you are comfortable with
