Guest Posted March 29, 2006 Posted March 29, 2006 ok, so I want to install that controbution, I copied basket.php but don't where to exactly paste the additional line in admin/boxes/customers.php In the readme file it reads: Add <br>. '<a href="basket.php" class="menuBoxContentLink">Search Basket</a> Before '); When I just paste the above code before the bold (see below), an error returns Here's the code: <!-- customers //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_CUSTOMERS, 'link' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers')); if ($selected_box == 'customers') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- customers_eof //--> Quote
HSMagic Posted March 29, 2006 Posted March 29, 2006 Should probably be: BOX_CUSTOMERS_CUSTOMERS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>' . '<a href="basket.php" class="menuBoxContentLink">Search Basket</a>' ); 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.