Ok, I've worked the Canada Post "Track It" template code out. I grabbed a consignment ID from a friend in Canada to test with.
In your canada_post.tpl in modules/Order_Tracking you need the code to be as follows:
Code:
{* $Id: canada_post.tpl,v 1.0 2008/09/26 14:07:32 twice Exp $ *}
<form name="basicPinForm" method="post"
action="
https://obc.canadapost.ca/emo/basicPin.do" method="post" target="_blank">
<input type="hidden" name="trackingId" value="{$order.tracking}">
<input type="hidden" name="referenceNumberPressed" value="false">
<input type="hidden" name="trackingCode" value="PIN">
<input type="hidden" name="language" value="null">
<input type="hidden" name="action" value="query">
<input type="hidden" name="fromPage" value="basicPin">
<input type="submit" value="{$lng.lbl_track_it|strip_tags:false|escape}" />
<br />
{$lng.txt_apost_redirection}
</form>
Hope that helps guys. For the life of me, I can't remember what ties the tracking template to the shipping method though. It was a while ago when I set up my shipping methods and my goldfish-memory is true to form.
Does anyone know what template / php / screen ties shipping methods to tracking templates?
Dean