Forums / Cotonti / Development / Plugins - TODO list

tensh
#37201 2013-03-11 18:32

I will try, I haven't used github yet :) Eventually you can put it there for me ^^

Added 5 hours later:

Here's work in progress ... I've got to ask you for some help ^_^

http://www.cotonti.com/datas/users/ajax_inlineedit_253.zip

1. Is HTML passed through HTML purifier in this plugin? I guess not? How can I sanitize it?
2. How can I localize messages in CKeditor plugin?
3. Are the permissions & security more or less okay?
4. There's an onblur notification reminding to hit the save button :) How to make it appear only if the data weren't saved? This puzzles me :)

TODO: jeditable page title.

Usage:

1. copy files (if you already have CKeditor 4.0, then copy only '\ckeditor\lib\plugins\ajaxsave\' plugin
2. if you test it on Nemesis default skin, copy the page tpls provided. If not:
- the div surrounding text in page must have following structure: <div class="textbox" id="{PAGE_CAT}_{PAGE_ID}">{PAGE_TEXT}</div>
- optionally you can add it also in page lists: <div class="textbox" id="{LIST_ROW_CAT}_{LIST_ROW_ID}">{LIST_ROW_TEXT_CUT}</div> (but of course the text cannot be cut :) )

That's it, it should be working.

This post was edited by tensh (2013-03-11 23:14, 11 years ago)