PDA

View Full Version : [Template Hack] update for affiliate link on information.tpl.php



blackhawk
08-17-2011, 05:55 PM
On line 46 of inforamtion.tpl.php, it may be a good idea to replace
FILENAME_AFFILIATE
with
FILENAME_AFFILIATE_SUMMARY

This way if the user is already logged in and wants to read the affiliate information page again, they can do that and once they are done and click the continue button towards the bottom, they will then go back to their affiliate summary page. If they are not logged in, it automatically kicks them to the sign-in page anyway. Its a win-win situation.

I got something like this...


echo '<a href="' . tep_href_link(FILENAME_AFFILIATE_SUMMARY, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>';

pgmarshall
08-17-2011, 11:52 PM
Post in the bugtracker please ...

Regards,