Contributions
Customer Sort (Admin)
This file replaces the exisiting admin/customers.php - it enables sorting by First Name, Last Name, Date. All Ascendingly or Descendingly. The link to do this appears by the column names.
Expand All / Collapse All
If you are using PHP5 then use this contribution.
Reason: with v1.6 and the previous one (bug fix) if you have any changes to your customer's address_book then you will get errors similar to:
Warning: array_merge() [function.array-merge]: Argument #1
is not an array in
/home/xxxxxxxxx/public_html/shop/admin/customers.php on line
733
Warning: reset() [function.reset]: Passed variable is not an
array or object in
/home/xxxxxxxxx/public_html/shop/admin/includes/classes/object_info.php
on line 17
Warning: Variable passed to each() is not an array or object
in
/home/xxxxxxxxx/public_html/shop/admin/includes/classes/object_info.php
on line 18
The 2 changes to admin/customers.php file need to be as follows:
1. Line 764 find:
$customer_info = array_merge($country, $info, $reviews);
replace with;
$customer_info = array_merge((array)$country, (array)$info, (array)$reviews);
2. Line 766 find:
$cInfo_array = array_merge($customers, $customer_info);
replace with:
$cInfo_array = array_merge((array)$customers, (array)$customer_info);
The admin/customers.php file in this contribution has been changed to the above.
THIS IS A FULL PACKAGE (for php5 users)
fixed one bug and update to OSC RC2A.
I've only made the modification for using it with OSC2.2 MS2
Read the reame.txt in this package
Thanks to Matthias, for pointing out a small error that was left in the contibution.
Fixed and pretty.
simple copy & paste replacement for your old /admin/customers.php file
Sorting with images.
This update adds an easy copy paste folder with categories.php and 2 Images (multilingual) nice Up and Down Arrows instead of the words ASC and DESC for sorting Customers First,Last Name and Date Account was created - via admin. neat addition thanks to Burt.
This is a great little file, and really easy to install. Just replace the existing customer.php file with this one in the catalog/admin directory.
No major changes to the previous contribution.
Added Membership
Added MouseOver color change
Added Admin Table color change.
Make sure you make a back up of your existing customer.php file BEFORE copying this one into your directory.
Have Fun!!
Just fixed the sort menu, so that it fits the 2.2 class/rollover design. Also placed
the asc/desc switch on a better place :)
Use it if u like it.
Thanks to Burt for releasing this one.
Done by Gøran Myrland - www.pcland.no
This file replaces the exisiting admin/customers.php - it enables sorting by First Name, Last Name, Date. All Ascendingly or Descendingly. The link to do this appears by the column names.
This works on the snapshot 1st June 2002. It has not been tested in any other snapshots.
Note: Contributions are used at own risk.