Guest Posted November 30, 2006 Posted November 30, 2006 Hi Community, I have installed a couple of years ago a contribution that enables sorting of customers and orders by columns. This contrib worked pretty well until I changed the provider. Then th URL's called by the buttons (using a SLL proxy) where malformed. In my opinion, this is very probably due to the usage of the function "$PHP_SELF" instead of "tep_href_link(", which might not be supported by every SSL proxy correctly. The first problem is that I cannot find the original contribution anymore to inform the community and eventually to post the correction. This contribution contains around the line 730 of "customers.php" following code: <td class="dataTableHeadingContent"><a href="<?php echo "$PHP_SELF?listing=lastname"; ?>"><?php echo tep_image_button('ic_up.gif', ' Sort ' . TABLE_HEADING_LASTNAME . ' --> A-B-C From Top '); ?></a> <a href="<?php echo "$PHP_SELF?listing=lastname-desc"; ?>"><?php echo tep_image_button('ic_down.gif', ' Sort ' . TABLE_HEADING_LASTNAME . ' --> Z-X-Y From Top '); ?></a><br><?php echo TABLE_HEADING_LASTNAME; ?></td> has anyone got a clue , which contribution it is? I would like to replace instruction <a href="<?php echo "$PHP_SELF?listing=lastname-desc"; ?>"> by something like: <a href="' . tep_href_link(FILENAME_ORDERS, 'cID=' . $cInfo->customers_id) . '">' What could have been the correct syntax for placing for example "listing=lastname-asc" between FILENAME_ORDERS and cID=.... ? Thank you very much if you could help me. Regards Michel Firholz Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.