Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCProf 1.03 Points rewards 2.0 problem


crowley

Recommended Posts

Hi i have problem witm my admin panel.

 

In istall.txt wrote:

 

ADMIN STEP = 4. open admin/includes/boxes/customers.php

This will add the link to customers_points.php and customers_points_pending.php Points FAQ

 

Find... (aprox. line 24)

 

$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .

TEP

... and add after.....

'<a href="' . tep_href_link(FILENAME_CUSTOMERS_POINTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_POINTS . '</a><br>' .// Points/Rewards Module V2.00

'<a href="' . tep_href_link(FILENAME_CUSTOMERS_POINTS_PENDING, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_POINTS_PENDING . '</a><br>' .// Points/Rewards Module V2.00

'<a href="' . tep_href_link(FILENAME_CUSTOMERS_POINTS_REFERRAL, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_POINTS_REFERRAL . '</a><br>' .// Points/Rewards Module V2.00

but in my admin/includes/boxes/customers.php are:

 

$heading[] = array('text' => BOX_HEADING_CUSTOMERS,

'link' => tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('selected_box')) . 'selected_box=customers'));

 

if ($selected_box == 'customers') {

$contents[] = array('text' => tep_admin_files_boxes(FILENAME_CUSTOMERS, BOX_CUSTOMERS_CUSTOMERS) .

tep_admin_files_boxes(FILENAME_ORDERS, BOX_CUSTOMERS_ORDERS));

}

 

$box = new box;

echo $box->menuBox($heading, $contents);

 

i try to do this:

 

$contents[] = array('text' => tep_admin_files_boxes(FILENAME_CUSTOMERS, BOX_CUSTOMERS_CUSTOMERS) .

tep_admin_files_boxes(FILENAME_ORDERS, BOX_CUSTOMERS_ORDERS) .

tep_admin_files_boxes(FILENAME_CUSTOMERS_POINTS, BOX_CUSTOMERS_POINTS));

 

but it's not work.

 

Please help!!!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...