If you visit http://www.davidgagne.net/ you’ll see a period – . – before each link to an entry’s comments. That period is a link to the editing window for that particular entry. As long as I am logged in to MovableType, I can click on that link and immediately begin editing the post. Here’s the link to add to your main index template:

<a target=”_blank” title=”admin” onmouseover=”window.status=’edit this entry’; return true;” onmouseout=”window.status=’ ‘; return true;” href=”<$MTCGIPath$>mt.cgi?__mode=view &_type=entry&id=<$MTEntryID$> &blog_id=<$MTBlogID$>”>.</a>

Note that you should use &amp; instead of & to make sure your page is (x)html compliant.


There are 5 comments on this post

  1. completely wonderful and useful! thanks for sharing

  2. Thank you thank you thank you… Hey, just an FYI, you know with a simple change in code you could keep that index page from jumping when we go to leave comments. I just noticed it moved on me. Let me know if you need the info. More importantly though, I *love* (love, love, love) your site! Thanks for the helpful tips & info!!!

  3. Very cool. Thanks!

    (Btw, your MT Preview template is busted.)

  4. Since I’ve just implemented it on my site, allow me to pay my respects too. Great hack!

  5. thank you so much… this will make a world of difference when I find a small glitch as I read through the archives at times!

Add to the discussion:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.