PDA

View Full Version : add affiliate link to the infobox



blackhawk
05-19-2011, 07:37 AM
if you open filenames.php and add...



define('FILENAME_AFFILIATE_SUMMARY',CONTENT_AFFILI ATE_SUMMARY. '.php');


then open up includes/boxes/affiliate.php and modify the boxheading variable too...


$boxHeading = '<a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY) . '">' . BOX_HEADING_AFFILIATE . '</a>';


Then the user can redirect to the summary page if logged in OR the login page if logged out.