« 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

Membership required, please sign-in or register:

As always, comments and suggestions are welcome.

Rate this entry:

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

TrackBack

TrackBack URL for this entry:

Listed below are links to weblogs that reference Add Comment Titles to MT4 Blogs:

» Comment Titles: inserire un titolo per ogni commento su Movable Type from MovableBlog.it
Comment Title è un plugin per Movable Type che consente di inserire un campo titolo opzionale ad ogni commento. [Read More]

» Resveratrol from Resveratrol
MTTrackbackEntry is a Movable Type plugin and hack that enables you to create new entries from the Trackbacks that you receive. In other words, it enables other people to post new entries in your blog, simply by pinging an entry or category on your blo... [Read More]

» Ab belt from Ab belt
I like your blog and will come back soon [Read More]

» xango llc from xango llc
While looking for discount designer handbags is all very well, it is still worth mentioning that often these products that are advertised at hugely discounted prices could very well be less than worth your while, which means that you need to be sure th... [Read More]

Comments (41)

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

Never said planting trees was a bad thing. Never said it wasn’t a cool thing to provide as a chatka. In fact, I think I said everybody wins. The global warming alarmists get their trees planted and become content in their belief that it will somehow help to cool the atmosphere. At some point the trees get cut down and harvested for their tannin and other parts to be sold to pharma

I think similarly

Good music!

chat:

Sohbet

dyke:

Tom didn't really try to pry into Kevin's personal background so Kevin didn't even have to lie about exploits with the opposite sex!. . , feeling sure that at least there he would find others in the same boat as he!!!

Loneley?? www.numdate.com !!

Sweet twink boy gets his cock sucked and asshole fucked by his buddy

who knows what to do with the mafia prog www.gbaba.info

FoR CaMFRoG aND KeRMiT http://www.undeadcf.info/ !


Su deposu :Su tankları, sıvı depolama kaplarıdır, bu tanklar genellikle, insan tüketimi için suyu depoluyor. Su tankları için ihtiyaç, uygarlaştırılan adam olarak öyle yaşlıdır. Su tankları, içme suyu

nun depolaması için içilebilir sağlar, sulama tarımı, bastırma, tarımsal çiftçilik ve çiftlik hayvanları, kimyasal imalat, yiyecek hazırlığı ve birçok diğer uygulamayı ateş ler...

Çeşitli malzemeler, su tanklarını inşa etmek için kullanılır: Plastik, polietilen, polypropylene, fiberglas, beton, çelik (Kaynak yapılan, veya koştu, karbon, veya paslanmaz). Toprak gölcükler, tasarladı, su depolaması, hem de çoğunlukla öyle tanklara başvurulan olduğu için.


( http://sudeposu.com.tr.googlepages.com/ )

www.baidu.com

I just did a quick test.But I found it's really a wonderful website,Maybe it can help you or your friends.
青青岁月
许云

Post a comment

Gift idea: Buy Seinfeld DVD box set, complete 9 seasons!