SPAW Editor PHP Edition v.2.0.0 RC

December 19th, 2006 by ailon

We have just released SPAW Editor PHP Edition v.2.0.0 Release Candidate!

Thanks to everyone who downloaded and tried our first v.2 beta! Your feedback was extremely helpful to bring SPAW Editor v.2 closer to the stable release.

Thanks to you we have fixed quite some bugs, added a couple of small features like links to files, keyboard navigation in file manage, etc. (see changelog for details). We believe that in current state it is already mature enough to be used in production environment (we use it to edit our own site) so we encourage you to download, try it and let us know if you find something not working as it should and help us make it as solid as possible by the time of the final v.2.0.0 release in early January.

In the meantime we will concentrate on creating documentation for plugin developers, theme designers, etc., writing some plugins ourselves, fixing some small quirks that are not yet fixed and migrating language files.

Here’s a complete list of changes in this release:

  • FEATURE ADDED: config variable ‘base_href’ added to specify protocol and domain part to be added to URLs returned from file manager (use in conjunction with strip_absolute_urls = false)
  • FEATURE ADDED: SpawFm plugin returns full file URL if config variable
      ‘base_href’ is specified and is not empty
  • FEATURE ADDED: browse button in hyperlink dialog to insert links to files
  • FEATURE ADDED: SpawFm plugin keyboard navigation
  • FEATURE ADDED: added setStaticConfigValueElement, getStaticConfigValueElement,  getConfigValueElement, setConfigValueElement methods to config and editor classes
  • FEATURE ADDED/BUGFIX: editor/page names now can contain square brackets ([ and ])
  • OPTIMIZATION: updateToolbar now only checks toolbar item status/value if it’s enabled
  • CHANGE: changed default resizing direction in config file to “vertical”
  • CHANGE: disabled file upload button is shown in SpawFm plugin if upload is not allowed
  • BUGFIX: if submit() method was used on a submit type control (input type=submit or type=image) this often resulted in lost content
  • BUGFIX: form onsubmit event handler was added multiple times if there were more than 1 editor instance resulting in unexpected HTML rendering results
  • BUGFIX: editor was unusable in Internet Explorer when inserted into page with XHTML doctype declaration
  • BUGFIX: editing area wasn’t editable in Mozilla (and probably older versions of Firefox)
  • BUGFIX: custom_tbi_css_events used where custom_tbi_events was assumed
  • BUGFIX: SpawLang->getLang was just a copy of setLang
  • BUGFIX: when moving focus to other editor in Gecko active editor wasn’t set
  • BUGFIX: javascript error was generated in Opera when inserting at the end of document
  • BUGFIX: in xhtml beautification process br tag wasn’t generating new line and indentation
  • BUGFIX: extra quote in one tag in SPAW2 theme templates
  • BUGFIX: flash wasn’t properly rendered in html under IE
  • BUGFIX: flash wasn’t replaced with placeholder images on initialization
  • BUGFIX: in Gecko based browsers disabled buttons were still clickable
  • BUGFIX: Javascript error on iframe focus in SpawFm Plugin
  • BUGFIX: content wasn’t always correctly inserted under Gecko and Opera
  • BUGFIX: php notice in SpawFm plugin
  • BUGFIX: text wasn’t properly html encoded when rendered to HTML
  • BUGFIX: updated xhtml rendering engine: empty paragraphs were rendered without   under IE, useless empty elements removed (b, i, etc.)
  • BUGFIX: added indentation for ul, ol, li, thead, tfoot tags
  • BUGFIX: added default_output_charset config variable, dialogs now use user specified output charset, modified setLanguage method to accept output charset as a second parameter
  • BUGFIX: ‘.’ and ‘..’ directories were shown in SpawFm plugin
  • BUGFIX: some execCommand related calls were throwing exceptions under Gecko
  • LANGUAGE FILE ADDED: Hungarian (Szentgyörgyi Janos, www.dynamicart.hu)

14 Responses to “SPAW Editor PHP Edition v.2.0.0 RC”

  1. Bill Says:

    It would be helpful if you could include in the full candidate, some commented examples of how to setup the document root, spaw root, spaw dir… in IIS.

    In the 1. versions, the info was more simply defined
    $spaw_root = ‘c:/directorypathforwwwroot/spaw/’;

  2. ailon Says:

    Well, it is mostly the same. The only difference is that it is set not by assigning values to global variables but by method calls

    SpawConfig::setStaticConfigItem(’DOCUMENT_ROOT’, ‘c:/directorypathforwwwroot/’);
    SpawConfig::setStaticConfigItem(’SPAW_ROOT’, ‘c:/directorypathforwwwroot/spaw/’);
    SpawConfig::setStaticConfigItem(’SPAW_DIR’, ‘/spaw/’);

    But it is probably a good idea to have it as a commented block in default config. Will do.

  3. chubbychubba Says:

    Hi, I have been using your SPAW Editor 1.0 since it is first release. and now I have upgraded to your latest SPAW Editor PHP Edition v.2.0.0 RC. Congrats for your neat works but I couldn’t help but feel annoyed with the JavaScript error generated saying ‘Permission Denied’.

  4. ailon Says:

    Is this http://forums.solmetra.com/viewtopic.php?t=1988&highlight=permission your post?

  5. chubbychubba Says:

    Hi, ailon.

    No, It is not.

    It appears that it is not only me who has this kind of error.

    I aggree with Kristjan Adojaan and the two problems occur when the SPAW Editor V1.0 is run only on I.E6 but not with IE7 and other browsers. I tried it as a a module to with I.E6 from different places and the same error still appears.

  6. ailon Says:

    I’m almost sure that it is caused by some security, ad blocking or some other kind of software on your machine or maybe some browser plugin, toolbar, etc. The question is how to identify what causes this problem.

  7. harry Says:

    same problem here with ie6

    it prevents working with tables and such.

    version 1 didnt have this problem.

    also in firefox you have to type a space in the textbox before you can edit but this problem already exists since the later versions of version 1.x

  8. ailon Says:

    I still can’t find any computer with the same problem around here :( I’m going to ask all the people I know and try to find IE6 with this problem.

  9. harry Says:

    tried it also on another machine with IE6(6.02800.1106)
    same problem but no error mesage.

    also i noticed that the fancy rightclick menu doesnt work on IE6 but works on firefox.

    as i remeber correctly some versions of 1.x also had this problem with permission denied but were solved later i think.

    maybe it helps to say that all these machines run win2000 SP4

    the error is:
    ——————-
    Line: 2120
    Char: 7
    Error: Permission denied
    Code: 0
    ——————-

    also tried setting the security settings to low but it doesnt help.

  10. ailon Says:

    What do you mean by “same problem but no error message”? What is the problem which doesn’t result in error messag?

  11. ailon Says:

    Please, check out this thread in our forums
    http://forums.solmetra.com/viewtopic.php?t=1988
    in case you have that “permission denied” problem.

  12. ITVN Says:

    Well, it is mostly the same. The only difference is that it is set not by assigning values to global variables but by method calls

    SpawConfig::setStaticConfigItem(’DOCUMENT_ROOT’, ‘c:/directorypathforwwwroot/’);
    SpawConfig::setStaticConfigItem(’SPAW_ROOT’, ‘c:/directorypathforwwwroot/spaw/’);
    SpawConfig::setStaticConfigItem(’SPAW_DIR’, ‘/spaw/’);

    But it is probably a good idea to have it as a commented block in default config. Will do.

    i done like above but it not working. my host use IIS. help me

  13. ailon Says:

    Please, use forums for support questions. You can also try using second (commented) semi-automatic path calculation method in default config file of the 2.0.2 release

  14. vaibhav Says:

    Warning: main(www/wehdp.org/admin/spaw2/spaw.inc.php) [function.main]: failed to open stream: No such file or directory in /mnt/w0510/d41/s24/b02d2a56/www/wehdp.org/admin/home.php on line 10

    Please help me out in this………

Leave a Reply

You must be logged in to post a comment.