I am experimenting with the Aloha inline HTML5 editor (www.aloha-editor.com).
I am creating a CMS system that wi开发者_Python百科ll allow the administrator to upload files for download.
These will go into an upload directory (public_html/upload).
When a user wants to put in a link they can click the repository browser and be presented with a list of files in this upload folder.
Does anyone know how I can do this? I don't understand the documentation at all, and even copying the javascript source from their examples isn't helping at all.
Thanks
You'll have to implement an Aloha repository. you should get enough information on this discussion : http://getsatisfaction.com/aloha_editor/topics/how_to_add_a_directory_to_the_repository_window
Please feel free to ask more, i've done the stuff, so i could help.
Best regards
精彩评论