Format Buttons on Comments and Entry Screen

| 2 Comments |

Comment buttonsOnce again I've been tinkering with the MT templates and adding more functionality. I discovered a piece of javascript code to easily add buttons to your comment form to allow commenters to format their comment text without having to know any HTML. I've seen it on many forums and often wondered how I could use it. I read about the script on the MT Forums and quickly added it to my templates. I changed the buttons to a set I preferred, it took some looking on Google Images before I managed to get them all. Perserverance!

Edit screen buttonsOn my MT edit screen I've added two lots of buttons. FormatList is a plugin for Movable Type that makes it easy to create bulleted or numbered lists when creating or editing entries. There's no template hacking and the buttons appear after uploading the plugin and images. Too easy.

The end two buttons were much trickier to install. It included uploading a javascript file, changing the edit-entry. template to include the buttons and call the script, and finding decent images that fit with the rest of the MT images. These are encode (which I use alot) and add image. I'm a bit disappointed with the add image function. It only enters the source and alt text to the image, so if you use any classes or want to include the height and width, these have to be added manually. I might have a look at the code and try to modify this, but as I've said before, I'm no programmer. Still, it's worth a look. The script also included a spellcheck function that took you off to a dictionary site, but since I never used it, and couldn't get a decent looking icon, I got rid of that. Visit Movalog for full instructions on how to install.


1 Comment

I have less than a year now to give up smoking, I promised the kids I'd give up before I turn 50. The count-down has begun.

Leave a comment

Twitter Updates

Subscribe

Enter your Email


Preview | Powered by FeedBlitz

Archives

Powered by Movable Type 4.21-en