New BTW(Big Template Window) for MT 3.3
I upgraded BTW plugin according to new MT 3.31 version, and added some useful features.
If you are new in this plugin, you can browse its old entry.(However I don't think you need to)
I've just found only 10 people in this earth are using this plugin. I'm very happy. :) After using it, if you feel good(or not bad), please tell your friends about it. This kind of plugin is working in MT's internal, so if you are silent, nobody can know it. As you know, my plugin blog is very isolated. More people using it, more likely to update with MT.
Requirement
- MT 3.3 version
- IE/Firefox/Mozilla. In Opera, some features are not working.
Installation
Download this plugin and untar it under (mt home) folder like $ tar xvfz BTW-3.3.01.tar.gz. Then the files will be located as below:- (mt home)/mt-static/plugins/alogblog/images/alogblog.ico
- (mt home)/plugins/alogblog/BigTemplateWindow.pl
- (mt home)/plugins/alogblog/tmpl/edit_template_BTW.tmpl
- (mt home)/plugins/alogblog/lib/alogblog/BigTemplateWindow/L10N.pm
- (mt home)/plugins/alogblog/lib/alogblog/BigTemplateWindow/L10N/ko.pm
- (mt home)/plugins/alogblog/lib/alogblog/BigTemplateWindow/L10N/ja.pm
Features
Seeing is believing (although this is old one) You can here see and test some features. ( In this testing window, HTML tag inserting and Save/Rebuild features are not possible. )
New in ver.3.3.01
- You can customize initial size of popup template window, font size/family of textarea per a blog.
- If you put your mouse over a tag, its short help message box is shown in the upper. However if you feel its explanation is not enough or want to see more exact tag usage, then just click it and then its contextual MT's tag reference page will be show up. Contexual tag help feature.
- Date Formats also added.
- Newly introduced MT tags in version 3.31 are displayed in blue color.
- You can restore MT's native template editor if you turn off its feature in blog's plugin config. menu. In older version, it uses MT's alternate template feature, but with it we could use original MTs.
- If you want, you can add your own language. Refer ko.pm file. Default provided ones are ko.pm, ja.pm.
- If you want tag's short help in your own language, first copy edit_template_BTW.tmpl to edit_template_BTW_ja.tmpl, in here "ja" is language code in Japanese, for example. And the translate edit_template_BTW_(lang code).tmpl file. BTW plugins first finds "edit_template_BTW_*.tmpl) file using current AUTHOR's perferred language. If that doesn't exist, it loads "edit_template_BTW.tmpl file.
Old features
- You can popup template editing window and handle the size of it as you want.
- You can use TAB key in textarea(not in Opera). You wanted it?
- You can control TAB feature. Pressing one TAB key, you can insert 3~8 real space characters. It was introduced for an easy use of multiply indented DIV blocks.
- You can easily change the font size in textarea by 1px.
- Wow, you can turn on and off text wrapping.
- In sidebar, you can refer all MT template tags/global filters/date formats and insert it into current cusor position by clicking tag label you want.
- Did you installed some plugins a month ago? When adaping that tags of plugin into some template, you are suffering some confusing to remember it ? All tags of installed plugins also present in sidebar.
- Short keys. alt key + 1(1px smaller), 2(1px bigger), w(text wrapping), t(native tab feature), 3~8(space characters insertion), s(save), r(save and rebuild)
- All MT templage tags show you a short description, which is from MT doc.
- Value tags and container/conditional tags are inserted differently.
- All attributes that the selected tag can have are automatically inserted.
- Update auto-discovery feature. If I update this plugin, then you can be notifed in your plugin list menu.
- After saving or rebuilding it, current editing page's viewing part is kept.
- Do you want to open multiple templates and then refer, edit those? Then just click a template name on MT's template tab menu.
- In BTW popup, do you want to open and edit other templates? Then use the sidebar templates menu on BTW. You don't need to leave this BTW to open others.
- if you re-click it (only just after clicking it), the inserted tag will be disappeared. ( I tried to add complete ctrl-z undo feature in FF/MZ, but it was too difficult and delicate for me. Problem like dealing non-Latin characters in buffering is one example. So I solved undo featues by introducing re-clicking. I'm not sure it's best solution, however I think it can do minumum undo feature at least.)

Fig.1 Screenshot 
Fig.2 Configuration per a blog (
In font family, don't use single/double quote in it)
License
Relased under the Creative Commons License.Version History
- 3.3.01: Upgraded according to MT 3.3.1 version, and added more useful features.
- 3.2.06: Fixed a bug(Truncation of last character of plugin's container tag), Thanks Curtis Gale Weeks. Simple undo/redo feature added.
- 3.2.05: Fixed a bug(Creating new template caused two ones). New features added.(template menu in sidebar)
- 3.2.04: Fixed a bug(container tags of plugins was not displayed in the tag menu).
- 3.2.03: Caret postion remembered even after saving a template.
- 3.2.02: Tool tip tag help added. Value and Container tags differentiated. Smooth fade in/out message. All possible attribute added.
- 3.2.01: for MT 3.2
- 0.1 : first I finished BTW with CGI, it also worked, but only after some testing it, I knew current method is more good and safe. So this CGI version didn't see the light of the world. Rest in peace!
Post a comment