Jump to content
Latest News: (loading..)

dthos

Members
  • Content count

    9
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    dylan
  1. dthos

    Batch Printing without Frames or PDF

    Batch Printing without Frames or PDF v.2 Hi all, Did anyone get this to work with os2.3.4 please? I am finding code is different from the instructions and unable to get anything to show that this add-on is even there? I used v.1 in a previous incarnation of my store (on 2.2) and found it very effective and would like to use it (or something similar) again? Thanks in anticipation of all replies
  2. dthos

    Batch Print Issue oscommerce 2.3.4

    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?
  3. 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) ) ) ); ?>
  4. Thanks for such a speedy reply I have now done it using a clean file as you suggest, the offending code does still seem to be present but it does now appear to work. Thank you for your time. best regards, Dylan
  5. Thank you for taking the time and for such a quick response. best regards, Dylan
  6. Hi there, I'm new to all this so not too sure if i'm posting in the right place. I have just updated my header tags seo for version 3.2.3, I have installed the contribution and ran into a little problem the shop side is ok and shows up correctly but when i go into the admin and then go to catalog it says: Parse error: syntax error, unexpected T_ELSE in /home/mystore/public_html/admin/categories.php on line 1026 when i open up categories.php then these are the lines echo tep_draw_hidden_field('products_image', stripslashes($products_image_name)); echo tep_image_submit('button_back.gif', IMAGE_BACK, 'name="edit"') . ' '; if (isset($HTTP_GET_VARS['pID'])) { echo tep_image_submit('button_update.gif', IMAGE_UPDATE); } else { echo tep_image_submit('button_insert.gif', IMAGE_INSERT); } echo ' <a href="' . tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['pID']) ? '&pID=' . $HTTP_GET_VARS['pID'] : '')) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td> </tr> </table></form> <?php } } else { ( <- this is line 1026?) ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td> <td align="right"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="smallText" align="right"> <?php echo tep_draw_form('search', FILENAME_CATEGORIES, '', 'get'); echo HEADING_TITLE_SEARCH . ' ' . tep_draw_input_field('search'); echo tep_hide_session_id() . '</form>'; ?> </td> </tr> <tr> <td class="smallText" align="right"> <?php echo tep_draw_form('goto', FILENAME_CATEGORIES, '', 'get'); echo HEADING_TITLE_GOTO . ' ' . tep_draw_pull_down_menu('cPath', tep_get_category_tree(), $current_category_id, 'onChange="this.form.submit();"'); echo tep_hide_session_id() . '</form>'; ?> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CATEGORIES_PRODUCTS; ?></td> <td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_STATUS; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td> </tr> <?php $categories_count = 0; $rows = 0; if (isset($HTTP_GET_VARS['search'])) { $search = tep_db_prepare_input($HTTP_GET_VARS['search']); I have very little (none) php knowledge but have compared the lines with what i believe to be a clean install and they appear the same also as far as i'm aware these lines have not been changed and worked prevoiusly with the earlier version of header tags. I thank you in anticipation of all help recieved. regards, Dylan
×