tips and tricks for movable type

quick editing
March 25, 2002

Another MT Tip from David Gagne - create a link which lets you edit the entry as long as you're logged in to MT.

"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>

(Line breaks added for display purposes are indicated by »; these breaks should be removed when using the code!)

"Note that you should use &amp; instead of & to make sure your page is html 4.01 compliant."

Comments

there is an error in this code but i don't know how to post a correction to the comments without the html kickin' in.

by hubs | 04.29.03 05:32 PM

I fixed the error. =)

by girlie | 04.29.03 08:08 PM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 1
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/11)

» Using Regex plugin on dual-script strings instead of MT dirify
Excerpt: Many moons ago I noted that MT's dirify routine (via MT::Util) sometimes turned unique strings into identical file names. So I had had to alter at least one of those strings (e.g. a category label) to something else. This was...
Weblog: a-giâu
Tracked: 10.01.04 03:23 AM