dthos Posted January 3, 2018 Share Posted January 3, 2018 Hi there, New to this so not really sure but am I missing something, trying to install Batch Printing without Frames or PDF v.2 on os2.3.4 which it would appear is possible from other posts. i have a problem with the following instruction: "3. In admin/includes/boxes/customers.php Find array( 'code' => FILENAME_ORDERS, 'title' => BOX_CUSTOMERS_ORDERS, 'link' => tep_href_link(FILENAME_ORDERS) ), Add after array( 'code' => 'batchprint_noPDF.php', 'title' => 'Batch Print', 'link' => tep_href_link('batchprint_noPDF.php') )" my admin/includes/boxes/customers.php file does not contain this code? only that below? <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_CUSTOMERS, 'apps' => array( array( 'code' => FILENAME_CUSTOMERS, 'title' => BOX_CUSTOMERS_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS) ) ) ); ?> Link to comment Share on other sites More sharing options...
greasemonkey Posted January 3, 2018 Share Posted January 3, 2018 2 hours ago, dthos said: admin/includes/boxes/customers.php Look in admin/includes/boxes/orders.php Link to comment Share on other sites More sharing options...
dthos Posted January 3, 2018 Author Share Posted January 3, 2018 Hi Greasemonkey, Thank you for your reply, I did look at that but even that is slightly different?.... array( 'code' => FILENAME_ORDERS, 'title' => BOX_ORDERS_ORDERS, 'link' => tep_href_link(FILENAME_ORDERS) ) I pasted after this and received a syntax error (in the editor)....unexpected T_ARRAY, expecting ' ) ' please excuse my ignorance if this is stupidly simple? Link to comment Share on other sites More sharing options...
beerbee Posted January 3, 2018 Share Posted January 3, 2018 Hi, take tools.php as example, look for the commatas separating each array(), and do it accordingly in customers.php. Best regards Christoph Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.