Spaw Editor For CMSimple

Spaw Editor is a web based in-browser WYSIWYG HTML editor control.

this advantage are :

  • Xhtml Output
  • nice identation in HTML mode
  • Advanced File Manager that allow to:
    • upload, rename, delete file/image/flash:youtube(with plugin)
    • Create, rename, delete folder
  • and all other features as other web based editor

Source : http://www.spaweditor.com

This integration functions with the Official Spaw Editor downloaded directly from the site. All parameters are inside the spaw.php file describe bellow.

About Prototype Library

From the site : « Prototype is a JavaScript Framework that aims to easy development of dynamic web applications.»

I’ve integrate this library for the saving process with Spaw Editor. I allow to NOT load every time all pictures during working & saving.

I use the version ‘1.6.0.3’.

Screenshot

ToolBar

version 12/11/2008 : original version with standart toolbar

version 02/12/2008 : original version + a plugin for saving with standart toolbar

Image Manager

Version

29/12/2008

  • Add unEscape function call for compare title

23/12/2008

  • Great!!! Now I make a mix between submit form and ajax. So I use submit form only if you change title or add a new headline inside your text otherelse I use ajax.
  • Well, It’s my gift for this site. Happy Christmas and Happy New Year :o)

06/12/2008

  • Integration of « Prototype » Library for Ajax for fix some problems.

02/12/2008

  • I’ve integrate Ajax technology for saving data so the editor is not reloaded (faster than ever)
  • If you add/modify a header (h1, H2 or h3), you must refresh your site for seeing change in menu structure!!!

12/11/2008

  • Add function for adding and removing absolute path for keeping compatibility with other plugin like Thumbnail with effect
  • the version was tested with the original version of CMSimple 3.2 and Spaw Editor 2.0.8.1.

28/10/2008

  • integration inside CMSimple

How to install

For version 12/11/2008 (without Ajax)

  1. Install CMSimple 3.2 (I’ve tested only with this version)
  2. Copy the folder Spaw inside your site (be careful, I use « Spaw » for the foldername!!!)
  3. Copy spaw.php inside your cmsimple folder
  4. In the SETTINGS seciont, go to « Edit configuration » and set « editor_externa » to the name of your config file. (I’ve use « spaw »)
+-root
|    +-cmsimple               <- Put the file spaw.php here
|    +-content
|    +-downloads              <- the folder must be defined for filemanager (it uploads files & flash)
|    +-images                 <- the folder must be defined for filemanager (it uploads images inside)
|    +-Spaw                   <- I put the Spaw Editor folder here
|      +-config
|        +-config.default.php <- if you see this file change it to « config.php »

For version 06/12/2008 (with Ajax)

  1. Install CMSimple 3.2 (I’ve tested only with this version)
  2. Copy the folder « Spaw2 » inside your site
  3. Copy spaw.php inside your cmsimple folder
  4. In the SETTINGS seciont, go to « Edit configuration » and set « editor_externa » to the name of your config file. (I’ve use « spaw »)
+-root
|    +-addons                 <- New folder where I've put « Prototype.js » library
|      +-prototype.js         <- this file help you to make Ajax
|    +-cmsimple               <- Put the file spaw.php here
|    +-content
|    +-downloads              <- the folder must be defined for filemanager (it uploads files & flash)
|    +-images                 <- the folder must be defined for filemanager (it uploads images inside)
|      +-spaw                 <- this folder containt image used with ajax plugin for saving data
|        +-ajax-loader.gif    <- it's the image name used with ajax plugin for saving data
|    +-Spaw                   <- I put the Spaw Editor folder here
|      +-config
|      | +-config.default.php <- if you see this file change it to « config.php »
|      +-plugins              <- this folder is used by spaw for loading all plugins
|        +-extended           <- copy the folder « extended » inside the folder « plugins »

Configuration

For configuring Spaw Editor go the spaw.php inside cmsimple folder...I’ve let you enougth (I think) comment for you understand.

You can configure :

  • width, height of Editor.
  • Rights access for images folder and downloads folder
  • Rights on file : upload, rename, delete file
  • Restricted type : images, flash, file
  • path for file like images path, file path, ...

Only for version of 02/12/2008 :

  • The button « save » is used only with the standard toolbar. So if you want to use the full toolbard you must make some change in spaw.php inside your cmsimple folder. Ask me if you don’t know how to do that.

Download

Official Site

Download the Php version from the official site : Official Site

Download the last version of « Prototype » Library : Prototype Library

Version 12/11/2008

You can download Spaw editor (2.0.8.1) + file used by CMSimple for integration there: Spaw In CMSimple

Version 29/12/2008 (with Ajax)

You can download Spaw editor (2.0.8.1) + file used by CMSimple for integration there: Spaw In CMSimple with Ajax

You can download only useful files : Only used files

Author

This integration is made by Jaufré Devosse

Discussion

Martin Sereday, 2008/10/31 06:42:

The editor is very promissing replacement to oEdit. But something goes either wrong or is not exactly explained in DOCs. Installation is really super simple. But evethohug I made it step by step reading documentaton, and I can upload pictures into the root/images dorectory, a creation of subdirs doesn’t work with me. There is a set of plugins (highslide-, lightboxthumb). These also do not work if SPAW is used as editor. But this may be the question for Treichler.

 
editors/spaw_editor.txt · Last modified: 2008/12/29 13:30 by yuyuki
Webdesign: NMuD chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0