toyzonline Posted November 18, 2014 Share Posted November 18, 2014 Hi, I have installed the Held orders Add-on (http://addons.oscommerce.com/info/8984/v,23) and have come across a small issue, which so happens to correspond to the one step in the instructions I had to think about: 5. Open admin/includes/boxes/customers.php Find the following:('code' => FILENAME_CUSTOMERS,'title' => BOX_CUSTOMERS_CUSTOMERS,'link' => tep_href_link(FILENAME_CUSTOMERS)) =============================================Add this directly behind============================================= 'array('code' => FILENAME_HELD_ORDERS,'title' => BOX_HELD_ORDERS,'link' => tep_href_link(FILENAME_HELD_ORDERS)) . With this step I was wondering whether behind actually meant before or after? Either way I have tried and get the following error (just reporting to different line whether I put before or after) Parse error: syntax error, unexpected ''' (T_CONSTANT_ENCAPSED_STRING), expecting '(' in /home/********/public_html/shop/admin/includes/boxes/customers.php on line 19 As it stands to get this error my coding looks like <?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 ' array( 'code' => FILENAME_HELD_ORDERS, 'title' => BOX_HELD_ORDERS, 'link' => tep_href_link(FILENAME_HELD_ORDERS) ). ( 'code' => FILENAME_CUSTOMERS, 'title' => BOX_CUSTOMERS_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS) ) ) ); ?> Any body help me out (sorry to be a complete numpty) Ricardo Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
♥kymation Posted November 18, 2014 Share Posted November 18, 2014 $cl_box_groups[] = array( 'heading' => BOX_HEADING_CUSTOMERS, 'apps' => array( array( 'code' => FILENAME_CUSTOMERS, 'title' => BOX_CUSTOMERS_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS) ), array( 'code' => FILENAME_HELD_ORDERS, 'title' => BOX_HELD_ORDERS, 'link' => tep_href_link(FILENAME_HELD_ORDERS) ) ) ); Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
toyzonline Posted November 18, 2014 Author Share Posted November 18, 2014 Cheers Jim all help much appreciated as always as I am sure it from all of us no programmers :) Complete Newbie On The Learn - Not A Programmer But Learning As I Go Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.