Typepad connect comments in advanced template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MTEntryIfAllowComments> | |
<a id="comments"></a> | |
<h3 class="comments-header"><$MTTrans phrase="Comments"$></h3> | |
<div class="comments-content"> | |
<div id="tpc_thread"></div> | |
<div style="display:none;" id="tpc_post_title"><$MTEntryTitle$></div> | |
<div style="display:none;" id="tpc_post_message"><$MTEntryBody$></div> | |
<script type="text/javascript"> | |
var TPConnect = {}; | |
TPConnect.tpc_url = '<$MTEntryPermalink$>'; | |
TPConnect.tpc_title = document.getElementById('tpc_post_title').innerHTML; | |
TPConnect.tpc_message = document.getElementById('tpc_post_message').innerHTML; | |
</script> | |
<script type="text/javascript" src="http://profile.typepad.com/services/embed/tpc/6a01156f3d85e6970c015437a65194970c/embed.js?asset_id=<$MTEntryXID$>"></script> | |
<script type="text/javascript" src="http://static.typepad.com/.shared/js/profile/blogside.js"></script> | |
<noscript><a href="http://profile.typepad.com/services/embed/tpc/6a01156f3d85e6970c015437a65194970c/thread?permalink=<$MTEntryPermalink$>">View the entire comment thread.</a></noscript> | |
</div> | |
</MTEntryIfAllowComments> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment