…that by placing:
<a name="<$MTEntryID pad="1"$>" href="http://<$MTBlogHost$>/path-to/mt.cgi?__mode=view&_type=entry&id=<$MTEntryID$>&blog_id=<$MTBlogID$>" onclick="OpenComments (this.href); return false"> </a>
in a strategic place you will have an invisible link that will open a window that allows you to edit the MT post you've embedded the link in?
Or that by placing:
<a name="<$MTCommentID pad="1"$>" href="http://<$MTBlogHost$>/path-to/mt.cgi?__mode=view&_type=comment&id=<$MTCommentID$>&blog_id=<$MTBlogID$>" onclick="OpenComments (this.href); return false"> </a>
in a strategic place you can do the same with comments?
Advantage: with entries, when you see that stupid misspelling you can fix it on the fly, with the text (minus all those distracting markup tags that probabl made you miss the error in the first place). Same with comments, plus you can delete assholes without searching for them.
Actually, the OpenComments javascript function makes the window kind of small for editing posts, so I have a seperate function that opens an 800px wide window (hey, it fits on my screen and no one else will use it anyway). Or you can just change OpenComments() so that it creates a resizeable window,
Posted by P6 at October 28, 2003 09:15 AM | Trackback URL: http://www.prometheus6.org/mt/mt-tb.cgi/2134Great Idea!
Of course, now we will all be obsessed with finding your 'G-spot.'
*poke*
found it! ;-)
(It might be a good idea to change the mouseover on the G-spot so annoying people like me can't find it as easily *poke* )
Mine isn't invisible but I've had something like this up for both posts and comments for about a year. Rather than using javascript, I just have target="_blank" in it.
And it is very handy indeed.
Yvelle:
As long as you don't have my password, I don't much mind folks finding the spot. If I did, I wouldn't have mentioned it here. ScriptyGoddess probably has something similar up.
Al-M:
Javascript vs. target is a taste thing. I like the small window, don't ask me why, and that requires the openwindow() call.
Skinning the site is the next major trick.
There's actually a plugin that you can use to create the edit link for entries, though not for comments. Part of the reason that I didn't bother to make mine invisible is that, as you said, as long as no one has my password, all they'll get by clicking that link is my MT login screen.