More Tiny Functionality

by Ted Corriveau
Thursday, June 01, 2006
Posted to Ectropian's Blog
Sorry it took so long to post my findings, but I've been testing a few different variations of alterations to the header_inc.tpl. This file contains information that drives the TinyMCETML WYSIWYG editor for all your site posts.

      • Note: If you have users (like my wife) that absolutely have to SEE what it will look like as they post, this upgrade is for you.

For starters, have you noticed that many posts will not allow you to change the color, font face, or size of your fonts (besides the default heading setting)? This is because these sections were left out of the TinyMce code which I endeavour to help fix.

The Process:
  • 1. If you like Tiki, to each his own. But in order for this to work properly, HTML format must be set to default. Do this by going to Administration -> Liberty -> Plugins -> Format
  • 2. Go to Administration -> TinyMCE -> Settings and Uncheck Confirmation request. This will let the TinyMCE load every time you open a post dialog.
  • 3. Go to Administration -> Liberty -> Liberty Settings and add to the end of the Acceptatlbe HTML tags string. I believe this was accidentally left out of one of the releases, or possibly it was intention to force posts to all look the same. Either way, this will allow everything to work properly, and your users will enjoy their posting experience much more.
  • 4. Download the attached header_inc.tpl file, and upload it to your <bitweaver>/tinymce/templates/ directory and refresh your browser.

This file adds the following functionality to the TinyMCE format box.
  • 1. Choose Font Family
  • 2. Choose Font Size
  • 3. Choose Font Color
  • 4. Choose Font Background Color
  • 5. Add Date/Time Stamps
  • 6. Preview your Post (I know there is already a Preview option built into Bitweaver, but this will open a separate window with JUST your post, so you do not have to hit the back button, or lose your post because of errors etc..

This is not the extent of what TinyMCE can offer, but it seems to be a great start to upgrading the experience without breaking the curent theme coding in bitweaver. Since I'm not much of a coder, I do my best to make life easier for myself and my users, and will continue to try to improve on the experience. If anyone has any questions feel free to ask them, or e-mail me.
</bitweaver>