Spaw Editor is a web based in-browser WYSIWYG HTML editor control.
this advantage are :
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.
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'.
18/01/2009
16/01/2009
12/01/2009
11/01/2009
29/12/2008
23/12/2008
12/11/2008
28/10/2008
+-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 »
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 :
Download the Php version from the official site : Official Site
Download the last version of « Prototype » Library : Prototype Library
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
This integration is made by Jaufré Devosse
Discussion
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.
Regarding the subdir creation in images directory:
You should check the permitions of the images directory. Works for me
Regarding the lightbox script, etc.:
It seems it’s a conflict between this two scripts.
I have some problems using this editor on multilanguage CMSimple. I use two languages: LT & EN.
On main language (LT) everything is fine, but on additional something is wrong. I’ve copied the spaw2 dir into the EN directory and it shows up, but unfortunatelly it doesn’t save the changes in EN version. It seems, that somehow the scrips doesn’t stay in the root directory.
Also is it possible to implement the LINKS dropbox, cause sometimes there’s a need to enter link to other page on the site.
Thank You
hello, this solves the problem for the multilanguage:
http://www.icb.cnr.it/~mysony/spaw.php.zip
@Emilio Thank Emilio,
I will integrate that soon as possible.
@Marek Ok Marek I will look for multi language asap, also.
mmmmm ... it seems that the ‘save’ button does not work with ie7 and vista:
‘page error: node.contentDocument.activeElement is null or not object’
the code seems to be to line 98 of savebutton.js
any ideas?
thanks
Yes I’ve fix it, many thank it’s one of thousand difference between firefox and IE… I’ve disable Ajax on IE. It does not work currently.
Hi, @Marek this implement the LINKS dropbox in spaw.php (for the moment only in the current language):
...
// code to populate Quick links drop box (only in current language) $ilink=array(); //+ for($i=0;$i<$cl;$i++){$ilink[$sn.'?'.$u[$i]] = $h[$i];} //+ SpawConfig::setStaticConfigItem("quick_links",$ilink,SPAW_CFG_TRANSFER_SECURE); //+ //-------------------------------------------------------------------------- // Instanciate the Spaw Editor with good context // !!! Do not change "text". It's the name of variable // used inside CMS for saving data...
@Jaufré consider whether you want to include it in your code
regards
Hi emilio castelluccio,
If you want you can do that. Currently, I’ve no time to update this project so if someone wants update this He can.
I’ll try to put this project on Google Code for synchronize it with SVN but later.
Do not wait for it.
Have a good day
what do I have to do to create a save buttom in the toolbar???
Give me your mail and I tell you how to do that.
I think this section is not appropriate
See you
how to add the original button and toolbar in the spaw toolbar?i'm planning to adda ll the available toolbars and button..
and also,how to add the original button such as add page, html code, and so on.. thanx in advanced
by the way,my email is mydcarbo@yahoo.com..
Sorry but I've no time currently for working at this editor. My advices are to look inside plugin folder for adding button and picture and look in the file «spaw.php» for changing the tool bar.
The documentation on the Spaw site is really helpful.
good luck