« Ajax Comments for MT4 | Main | Use Your Own MT Login on Other MT Blogs »

Add Comment Titles to MT4 Blogs

Comment Titles is a plugin for Movable Type that adds a "Title" field for comments. Commenters can (optionally) add a Title to their comment. Comment Titles can be viewed and edited from the admin interface.

Screenshot

Template Tags

Comment Titles provides one new template tag:

  • <MTCommentTitle> - This tag will display the the title for the comment in context. If the comment does not have a title, this tag will output nothing.

Requirements

  • MT 4.01+

Note: Due to a bug in MT 4.0 that I found while developing this plugin, Comment Titles will not work with 4.0. You need 4.01 (or newer).

Installation

  1. Download and extract the zip file. Upload the contents of the 'plugins' directory to the 'plugins' directory of your Movable Type installation.
  2. Add a "title" field to your comment form. If you are using the default MT4 templates, go to Design>Templates, then "Template Modules" from the right side of the page. Then choose the "Comment Form" template. You can place the field anywhere between the <form and </form> tags, but I recommend after the URL field. Below the "comment-form-url" div, add:

    <div id="comment-form-title">
    <label for="comment-title">Title</label>
    <input id="comment-title" name="title" size="30" value="<MTIf name="comment_preview_template"><$MTCommentTitle$></MTIf>" />
    </div>


  3. Next, display the Comment Title on your published page by adding the <MTCommentTitle> tag to your Entry (Individual Archive) template. If you are using the default MT4 templates, then go to Design>Templates, then "Template Modules" from the right side of the page. Then choose the "Comment Detail" template. You can decide where you want to display the title, but one option is to place it right before the comment body (before the comment-content div):

    <MTIfNonEmpty tag="MTCommentTitle"><div class="comment-content">
    <strong><$MTCommentTitle$></strong>
    </div></MTIfNonEmpty>

    Note that in the above example, I have used the MTIfNonEmpty tag. By doing so, the HTML for the title will only be displayed if a title exists for that comment. This avoids extra blank lines and other markup when comments don't have titles.


  4. Publish your entry pages and you are done.

Get Comment Titles

Commercial License - $97.00

Personal License - Free

Comment Titles is free for personal, non-commercial use.

Download Now

Download Now
Downloads: 228

As always, comments and suggestions are welcome.

Rate this entry:

  • Currently 4.4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4.4/5 (19 votes cast). Powered by the Ajax Rating plugin.

Comments (30)

Does the plugin works well together with AjaxComments?
(See a never ending image after posting.)

jEFF:

Picking nits here... but,
the style ID "comment_form_title" should be added/grouped with "comment_form_email" ID's (and others) in the Base Theme style sheet, in order to maintain site style continuity.
HTH

Thats very usefull informations.

Thanks

Regards.

Dream web news:
1,Dong Jian Nong created the film stories prepared in 2009 at the same time start to make the movies, total 100 films.
2, Life Source Center
First activity area: Start Life Source District Enrollment
Second activity area: Deep-sea life source Fleet Enrollment

Online:
http://dongjiannongdream.spaces.live.com
http://i.cn.yahoo.com/dongjiannongdream_1/blog/p_9/
http://www.dongjiannongdream.zoomshare.com
2007.Dec.17. Beijing

http://www.masterpapers.com/term_papers.php
Our custom term paper writing service is committed to deliver only quality term papers, research papers, and college term papers.
Term Paper

you243:

Click on www.sex-guide-usa.com i don't have to say why see for yourself.

Wow I can't believe all the useful stuff you have listed here.
Thanks

that coment up not god
صور

thank u very usefull

wiki:

Good article

Meme:

For those of you thinking that if they implement this it will eliminate some of the waiting and lines…

Thanks for sharing this. It is important to have a place for comments on your blog since it encourages participation from your readers and gives you ideas on what to include/how to improve your site. I will add that it is a good idea to moderate comments though...

I think the commercieal use price is a bit expensive maybe it will be less :S

I think the commercieal use price is a bit expensive maybe it will be less :S

Anonymous:

asdf

I think the commercieal use price is a bit expensive maybe it will be less :S

Posted by شات صوتي | March 30, 2009 8:35 PM

So useull thanks for sharing this info, so much...

Post a comment