QuickTags
UPDATE: An updated entry can be found here This is now out dated !
I loved the quicktags available in WordPress. They were just so much more powerful that then four offered within MT. So Carthik pointed my to quicktags the javascript used my WordPress.
So I hacked MT to remove the pathetic little buttons and put these more powerful ones on there - see the screenshot.
You will need two files:
The Quicktags Javascript - put this file in your StaticWebPath
edit_entry.tmpl - this file should go in MT_DIR/tmpl/cms/
I've not yet get it to work properly with the Extended Entry, currently it only work with Entry Body. If anyone is able to help me with this I'd appreciate it !
UPDATE: I uploaded another version of edit_entry.tmpl to include a little styling for the buttons. Also add the following to your styles.css
.quicktags input {
background: #f4f4f4;
border: 1px solid #b2b2b2;
color: #000;
font-family: Georgia, "Times New Roman", Times, serif;
margin: 1px;
padding: 3px;
}
Thanks to WordPress for the styles ;-)

Teja said:
on Aug 13, 2004 6:31 PM | Reply
Nice... :)
Tinnocker said:
on Aug 13, 2004 9:19 PM | Reply
Hi Arvind, I like this. Will this work with version 2,64?
Arvind Satyanarayan said:
on Aug 13, 2004 10:15 PM | Reply
No. The tmpl file there is for 3.01D not sure about other versions. I'll get out one for 2.6x soon !
Brian Finn said:
on Aug 14, 2004 4:00 AM | Reply
The Quicktags Javascript - put this file in your StaticWebPath
We don't use a StaticWebPath as our MT is not in cgi-bin. Tried it in MT3 folder but not working.
Please help.
Carthik said:
on Aug 14, 2004 5:24 AM | Reply
Great! I would love to help out with the Extended Entry Problem, but I don't have MT running on my server anymore, and it's been a while since I hacked MT.
May this be the beginning of at least a few succesful WP -> MT feature ports :)
Arvind Satyanarayan said:
on Aug 14, 2004 7:20 AM | Reply
Brian if you don't have a staticwebpath put it in your root mt folder basically it needs to go in the same folder that has docs, styles.css and images !
Arvind Satyanarayan said:
on Aug 14, 2004 8:13 AM | Reply
An MT 2.x working version can be found here http://www.movalog.com/archives/2004/08/quicktags_part.php
hunter x az said:
on Aug 14, 2004 10:39 AM | Reply
Heya Arvind, thanks for writing this - however I have a couple of questions.
What template am I supposed to edit the editentry.tmpl into? MT doesn't automatically recognize the editentry.tmpl and I can not find an option to add a new template for the Create a New Entry page etc.
Can you help me figure this out? Thanks in advance
Arvind Satyanarayan said:
on Aug 14, 2004 10:41 AM | Reply
Nope editentry.tmpl is found in MTDIR/tmpl/ you cannot edit it through the MT interface. You'll need to use something like EditPad or UltradEdit !
Arvind Satyanarayan said:
on Aug 14, 2004 10:42 AM | Reply
Well Done :)
Brian Finn said:
on Aug 14, 2004 2:30 PM | Reply
Arvind. Thanks but I did say I put it in our MT3 folder which has styles.css etc. The only thing I can think is that this is a subfolder of the blog itself and not directly in public_html. Wouldn't have thought it would make a difference.
Arvind Satyanarayan said:
on Aug 14, 2004 2:32 PM | Reply
Ok so your MT installation isn't in public_html ? Well then I don't quite understand how you access your MT but yes it would make a different, your MT installation and this file need to be publically viewable so it can be accessed !
Claudia said:
on Sep 14, 2004 1:25 PM | Reply
Hi,
I love the idea of having quicktags but I encountered some problems. Doubtlessly, they are due to my being clueless... ;-)
First off, we never had any quicktags in the first place. I'm using Firefox as my browser but also in hateful Internet Explorer, I never had the original four (?) quicktags appear.
I thought I could remedy this with your script... alas, I must have done something wrong. I now get this error message when trying to open a "new entry" screen:
"Loading template 'editentry.tmpl' failed: HTML::Template->new() : Syntax error in tag at tmpl/cms/editentry.tmpl : 595. at extlib/HTML/Template.pm line 2089."
I checked but it seems to me that I did everything right. Can you give me a clue? Is this connected with the problem that I'm not seeing any quicktags at all?
Eek, and now I notice that I cannot set things back, even though I put the old edit_entry.tmpl back!! HELP!
TIA,
Claudia