Oh, oh, oh! I just figured out how to integrate EO with SO a little better. (this is big for me since I'm not really a php coder).
I did this on ZC 1.3.6 with SO 2.0 (rev 45) and Edit Orders 1.3:
- Edit super_orders.php
at line 1193 add this code:
// integrate with Edit Orders
echo '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, 'oID=' . $orders->fields['orders_id'] . '&action=edit', 'NONSSL') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', IMAGE_EDIT) . '</a> ';
// end edit
and at line 1253 add this code:
// integrate with Edit Orders
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDER_EDIT, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
// end edit
- Edit edit_orders.php
find this line (around 555)
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>
change to read:
<td class="pageHeading" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td>