Advanced Search  :  Site Statistics  :  Directory  :  Web Resources  :  Forum  
    Plugins for Geeklog Geeklog Plugins    
 Welcome to Plugins for Geeklog
 Saturday, May 17 2008 @ 07:05 AM EDT

HTML WYSIWYG Editor for Geeklog

   
Hacks

I recently ran across a drop in html WYSIWYG editor that works well with Geeklog.  It is free and distributed by interactivetools.com.  It only works with Windows IE 5.5 or better, but degrades to the normal textarea with other browsers.  You can see it in action here by submitting a story or comment.



It is a full featured editor controlling formating, fonts, colors, images, and tables.  It even has a full screen option.

It is easy to install only requiring a simple addition to a few theme templates.  I have put together a modified package (modified to work with some Geeklog themes) with installation instructions.  You can get it from the downloads section or directly here.

Enjoy

TomW

 

What's Related

Story Options

HTML WYSIWYG Editor for Geeklog | 14 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
HTML WYSIWYG Editor for Geeklog
Authored by: anonymous on Wednesday, January 01 2003 @ 11:43 AM EST
I've been incorporating HTMLAREA's WYSIWYG into a site where users are very HTML dumb. They are going to love this -- at least those who have MSIE 5.5 or better.

For those who don't, I wanted the site to default to plain text postmode.

Here's how I handle changing the $_CONF[postmode] based on browser type and version.

I've added this code to lib-custom.php

//HACK FOR DETERMINING HTMLAREA COMPATIBILITY
//make user agent into an array
$browser = explode(' ',$HTTP_USER_AGENT);
//Get key for MSIE if in the array
$i = array_search('MSIE',$browser);
//if found MSIE
if ($i > 0)
{
//Get MSIE version, trim trailing ;
    $browserver = rtrim($browser[$i+1],";");
//check version is at least 5.5
    if (floatval($browserver) >= 5.5)
      $_CONF[postmode]='html';
} ELSE {
      $_CONF[postmode]='plaintext';
}

That's it. Now those users who can use HTMLAREA's features (MSIE v.5.5 or greater) get default HTML and those who will get a vanilla textarea get plain text as default.

NOTE: I have tested this on MSIE v.6 and NETSCAPE 6, both on Windows. I haven't had a chance to check this on other platforms or with MSIE less than 5.5.

HTML WYSIWYG Editor for Geeklog
Authored by: anonymous on Wednesday, January 01 2003 @ 02:45 PM EST
What a brilliant addition to Geeklog - Just what I have been looking for. Does anyone know how these java scripts could be incorporated into php to make it immediately available to all themes used on the site? This would make future upgrades much easier. Thanks again I'm trying it out on my site now.History and News
HTML WYSIWYG Editor for Geeklog
Authored by: anonymous on Thursday, January 02 2003 @ 09:33 PM EST

EXCELLENT find, Tom!! I've installed htmlarea on my sites using your instructions and "package", and it works perfectly.

My editor-challenged writers will be thrilled.

EKwant cool

HTML WYSIWYG Editor for Geeklog
Authored by: anonymous on Monday, April 28 2003 @ 10:04 AM EDT

Hi Tom,

I tried to install the htmlarea editor, but it works only for the non admin areas.

The htmlarea editor does not show up in static page editor and storyeditor . Is there any other modification needed besides those you mentioned.

 Copyright © 2008 Plugins for Geeklog
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.18 seconds