Autosave plugin
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Autosave plugin
Please read more here: http://blog.s9y.org/archives/117-Autosave-Plugin.html
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Autosave
I have to say that this is the coolest plugin ever. I couldn't be more excited about it. However I have a problem.
When I tried it in Mozilla Firefox 1.5.0.1 I get this error:
The ajax call failed ! [TypeError: form has no properties]
I tried it in Internet Explorer 6.0 and it works just fine. (I am ashamed to admit I used IE). So I know that there is a good chance that it is a problem with something I did to Firefox, but I am looking for ideas.
I am hopeful that the use of this plugin will get my wife to start blogging again. She got mad because she kept losing entries.
When I tried it in Mozilla Firefox 1.5.0.1 I get this error:
The ajax call failed ! [TypeError: form has no properties]
I tried it in Internet Explorer 6.0 and it works just fine. (I am ashamed to admit I used IE). So I know that there is a good chance that it is a problem with something I did to Firefox, but I am looking for ideas.
I am hopeful that the use of this plugin will get my wife to start blogging again. She got mad because she kept losing entries.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Autosave
Great to hear that! Maybe you could give Jay some feedback on his blog so that he gets notified? I don't know if he's reading this forum!
Best regards,
Garvin
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Comments Blocked
I would love to comment on Jay's blog, but he's got the comments on his blog blocked.
That is why I posted here. I just hate having to use I.E. to use this really awesome plugin.
That is why I posted here. I just hate having to use I.E. to use this really awesome plugin.
-
- Posts: 2
- Joined: Tue Mar 21, 2006 10:04 pm
- Location: France
- Contact:
Re: Comments Blocked
Hi doomsayer,
I already had some feedback and modified the plugin. I updated the archive on my blog (http://jay.bertrand.free.fr/blog/upload ... plugin.tgz) but this new version also needs a new htmlarea.js (also in the .tgz). Could you please test it and give me some feedback ? TIA.
Firefox has a really weird behaviour : i run exactly the same version (1.5.0.1) and have no problems with s9y 0.9.1 and 1.0-b2 ?!? stupid javascript
Regards,
Jay
I already had some feedback and modified the plugin. I updated the archive on my blog (http://jay.bertrand.free.fr/blog/upload ... plugin.tgz) but this new version also needs a new htmlarea.js (also in the .tgz). Could you please test it and give me some feedback ? TIA.
Firefox has a really weird behaviour : i run exactly the same version (1.5.0.1) and have no problems with s9y 0.9.1 and 1.0-b2 ?!? stupid javascript
Regards,
Jay
Really, that's pretty weird. I only activated the anti-spam plugin ?!?doomsayer wrote:he's got the comments on his blog blocked
New Version
The new version still works just fine in I.E. but I still get the same error:
The ajax call failed ! [TypeError: form has no properties]
when I try from Firefox. I think your work is fantastic anyway.
Somehow I am hitting the spam filter on your blog each time I try to respond there.
The ajax call failed ! [TypeError: form has no properties]
when I try from Firefox. I think your work is fantastic anyway.
Somehow I am hitting the spam filter on your blog each time I try to respond there.
-
- Posts: 2
- Joined: Tue Mar 21, 2006 10:04 pm
- Location: France
- Contact:
Re: New Version
Damned ! I will work on it, I won't let IE work fine and FF not . That's pretty amazing how FF's behaviour vary depending on the OS I run FF 1.5.0.1 on xp with s9y 0.9.1 and 1.0-b2 and no problem until now.doomsayer wrote:The new version still works just fine in I.E. but I still get the same error ...
Ok, I misconfigured the spam plugin. Comments are now re-openeddoomsayer wrote:Somehow I am hitting the spam filter on your blog each time I try to respond there.
Regards,
Jay
I just installed the autosave plugin and encountered the same error doomsayer reported. I am using Firefox 1.5.0.4 on Linux.
I think I've tracked the issue to whether the form serendipityEntry is labeled using the 'name' or 'id' property; and that appears to depend on how you set "Force XHTML 1.1 compliance" in the serendipity configuration menu.
As long as Force XHTML... is off (and the form is labeled using 'name'), the plugin fails. Since I turned on Force XHTML 1.1, the form is labeled using 'id' and the autosave plugin works fine.
I think I've tracked the issue to whether the form serendipityEntry is labeled using the 'name' or 'id' property; and that appears to depend on how you set "Force XHTML 1.1 compliance" in the serendipity configuration menu.
As long as Force XHTML... is off (and the form is labeled using 'name'), the plugin fails. Since I turned on Force XHTML 1.1, the form is labeled using 'id' and the autosave plugin works fine.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Thanks for that report! Actually, in Serendipity 1.1 this XHTML compliance is turned on and the option was removed, so it should go away automatically in the future
Best regards,
Garvin
Thanks for that report! Actually, in Serendipity 1.1 this XHTML compliance is turned on and the option was removed, so it should go away automatically in the future
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
works for me
wagwag your solution fixed my problem. thanks VERY much you are my hero (along with garvin and jay). this fixes the one thing I really had a problem with. I submitted a comment to Jay's blog asking him to add this to the instructions.
JS errors
Hi, I am getting some JS errors in the html editor. I read that their is a new htmlarea.js file in the tgz file. It must have been removed at some point because I'm not seeing it. Can you let me know where I might find it? thanks.
Jesse Knowles
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: JS errors
Hi!
Which serendipity version are you using? Which JS errors do you get? You actually don't need any updated htmlarea.js file, the one shipped with serendipity works fine.
Best regards,
Garvin
Which serendipity version are you using? Which JS errors do you get? You actually don't need any updated htmlarea.js file, the one shipped with serendipity works fine.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
autosave js erros
The version of Serindipity I installed was from this file... serendipity-1.0-beta2.tar.gz
when i activate autosave plugin and then navigate to "new entry" upon loading I get these error...
line 863 - 'undefined' is null or not an object
upon clicking in the wysiwyg editor i get ...
line 1300 - 'Object doesn't support this property or method
I am using the htmlarea wysiwyg editor. It makes it useless to use because of these erros, so I have to turn autosave off until i can get this resolved. Any help would be appreciated.
thanks in advance.
when i activate autosave plugin and then navigate to "new entry" upon loading I get these error...
line 863 - 'undefined' is null or not an object
upon clicking in the wysiwyg editor i get ...
line 1300 - 'Object doesn't support this property or method
I am using the htmlarea wysiwyg editor. It makes it useless to use because of these erros, so I have to turn autosave off until i can get this resolved. Any help would be appreciated.
thanks in advance.
Jesse Knowles
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: autosave js erros
Hi!
I would suggest you to upgrade to serendipity 1.0 - I think the serendipity_editor.js file has been updated there to accomodate problems.
Also, are you using the most recent version of the autosave plugin?
Best regards,
Garvin
I would suggest you to upgrade to serendipity 1.0 - I think the serendipity_editor.js file has been updated there to accomodate problems.
Also, are you using the most recent version of the autosave plugin?
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 16
- Joined: Tue Sep 19, 2006 2:02 pm