Forum OpenACS Development: Re: xowiki, ckeditor and file storage?
I'm not too familiar with the attachments package. So I've added it under our xowiki package. In the installation documentation, it has the following:
"First, you must select a file-storage instance that will provide the files you can attach.
You must map the root folder of that file-storage instance with the package_id of the instance of your package.
fs::get_root_folder and attachments::map_root_folder"
If I am reading this correctly, once I fix my permission issue, I still need to link the xowiki package with the root folder of a file storage instance via the attachments package by using the code listed above.
I'm trying to make sure I am on the right track before going too far down a rabbit hole.
Thank you again in advance.
The functionality of handling images in ckeditor via attachments was added after the 5.9.1 release, so make sure, you have the changes for the theme , for news , forums , or xowiki . Check as well your custom templates if applicable, whether these pass a property for "displayed_object_id". Note, that xowiki can handle embedded images also via the xowikiimage plugin, which handles images as subobjects of wiki pages and which uses xowiki image markup (with "[[image:...]]"). In the latter approach, pages with embedded images can be exported/imported in other OpenACS instances, but with the ckfinder/attachments approach, images are currently not preserved.
Concerning file-storage dependencies of the attachment package: The attachment package has essentially 2 parts: (a) an internal API and (b) a user interface. The way the attachments are used in the ckeditor packages, only (a) is used, since the user-interface is provided by the ckeditor4. The part of the attachment-description is based on the assumption, that everything works over the file-storage.... it should be made more precise.
hope this helps