MT Plugin

From Seesmic

Jump to: navigation, search

Welcome to the MovableType Plugin

First you need to install the plugin that you can found here : http://plugins.movabletype.org/seesmic/

Template Tags

The Seesmic plugin provides three template tags that should be added to your individual archive templates in order to enable Seesmic video commenting on your blog:

The <MTSeesmicComments> tag should be inserted in the Comment Form template, within the "comments-open-text" div. It takes a text parameter, which will be the text included in the Seesmic link. For example:

   <MTSeesmicComments text="Click here to add a video comment!">

The template should then look something like this:

       <label for="comment-text">Comments</label>
       <textarea id="comment-text" name="text" rows="15" cols="50">
           <MTIf name="comment_preview_template">
               <$MTCommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$>
           </MTIf>
       </textarea>
       
<MTSeesmicComments text="Click here to add a video comment!">

A conditional tag that will render the contents if the comment has an associated video.

   <MTIfCommentHasVideo>

The following tag should be combined with the above tag in the Comment Detail template to render video comments if they exist.

For example:

   <MTSeesmicCommentVideo>

And the Comment Detail template:

   <MTIfCommentHasVideo>
       <$MTSeesmicCommentVideo>
   <MTElse>
       <$MTCommentBody>
   </MTIfCommentHasVideo> 


Settings

The plugin provides the following blog-level settings:

  1. Allow video comments - Specifies whether or not to allow video comments to this blog. If unchecked, the <MTSeesmicComments> tag will not output the video commenting link.
  2. Allow anonymous video comments - If unchecked, users will have to have a Seesmic account to be able to post a video comment.
Personal tools