I think I found another bug. The instructions in the readme.txt say that the "details" button should take you to the old order description screen while the "edit" button should take you to the new screen. That didn't match the behavior I was seeing. Both buttons were taking me to the new edit screen.
I changed the instructions in the readme.txt a little and things worked as expected. Basically the first search and replace has you change "FILENAME_ORDERS" to "FILENAME_ORDER_EDIT". I am pretty sure this is wrong. I changed it back to FILENAME_ORDERS and things seemed to work as expected. I haven't tested that modification throughly though. Caveat emptor.
The readme.txt should read:
Code:
1) This add the "Details" button - see explanations below:
FIND
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
REPLACE WITH:
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_details.gif', IMAGE_DETAILS) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
Bookmarks