Jump to content

johnr79

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    john
  1. johnr79

    Admin_acl addon - what is it?

    ok so I managed to get this installed and working. (on a test site ) it is an admin access control to disable what you don't want your employees to be able to access the only problem that I have found with it is I get a strict standards usort error if anyone can help me out with this as I am just learning all this I am not confident enough to mess around.... 1st error is : Strict Standards: usort() expects parameter 2 to be a valid callback, non-static method admin_acl::tep_sort_admin_boxes() should not be called statically in C:\xampp\htdocs\dts\admin\admin_acl.php on line 107 line 107 below usort($cl_box_groups, array("admin_acl", "tep_sort_admin_boxes")); 2nd error is : Strict Standards: usort() expects parameter 2 to be a valid callback, non-static method admin_acl::tep_sort_admin_boxes() should not be called statically in C:\xampp\htdocs\dts\admin\admin_acl.php on line 110 line 109 - 111 below foreach ( $cl_box_groups as &$group ) { usort($group['apps'], array("admin_acl", "tep_sort_admin_boxes")); } any help with this would be highly appreciated thanks in advance john
  2. johnr79

    Customer Loyalty Discount Scheme

    what I need to do is add code after what I posted earlier to Display Loyalty discount for the customer plus the table and his current place in it on his account side of things
  3. in the docs for Customer Loyalty Discount Scheme it tells me to open in catalog/account.php and FIND: <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td width="60"><?php echo tep_image(DIR_WS_IMAGES . 'account_orders.gif'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif') . ' <a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">' . MY_ORDERS_VIEW . '</a>'; ?></td> </tr> </table></td> <td width="10" align="right"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> except this is not in my account.php file from catalog I have attached it here account.php
×