root/trunk/Vanilla/plugins/Vanilla/templates/vanilla+typepad-connect-comments/tp_and_mt_comments.mtml @ 1255

Revision 1255, 1.0 kB (checked in by bsmith, 12 months ago)

adding Vanilla+TypePad?-Connect-Comments

Line 
1<!-- Create a variable with the entry date as the value. -->
2<mt:SetVarBlock name="entry_date"><$mt:EntryCreatedDate format="%Y%m%d"$></mt:SetVarBlock>
3
4<mt:If name="entry_date" gt="$switch_date">
5    <!--
6        If entry_date is greater than the date TypePad Connect Commenting was
7        implemented, then use TypePad Commenting Code...
8    -->
9
10    <$mt:Include module="TypePad Connect Comments"$>
11
12<mt:Else>
13    <!--
14        Otherwise use Movable Type Commenting Code
15    -->
16
17    <!-- Replace this html comment with your exisiting MT comments code. -->
18
19</mt:If>
20
21
22
23
24<mt:Ignore>
25<!--
26    If you want to publish all comments left in MT to date, but then use
27    TypePad Connect Commenting for all new comments, use the below Unless
28    conditional code instead of the If tag conditional above:
29-->
30
31    <mt:Unless name="entry_date" gt="$switch_date">
32        <!-- Replace this html comment with the comments code, but not the commenting form. -->
33    </mt:Unless>
34    <$mt:Include module="TypePad Connect Comments"$>
35
36</mt:Ignore>
Note: See TracBrowser for help on using the browser.