Skip to content

Commit 0f96eac

Browse files
committed
Plugin: OnlyOffice: Improve README.md
1 parent 4ef8783 commit 0f96eac

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

plugin/onlyoffice/README.md

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Chamilo ONLYOFFICE integration plugin
22

3-
This app enables users to edit office documents from [Chamilo](https://chamilo.org) using ONLYOFFICE Docs packaged as Document Server - [Community or Enterprise Edition](#onlyoffice-docs-editions).
3+
This plugin allows users to edit office documents from [Chamilo](https://chamilo.org) using ONLYOFFICE Docs packaged as Document Server - [Community or Enterprise Edition](#onlyoffice-docs-editions).
44

5-
The app is compatible with Chamilo v1.11.16 or newer.
5+
The plugin is compatible with Chamilo v1.11.16 and later, although some features might only work on the [latest stable version](https://chamilo.org/download) of Chamilo.
66

77
## Features
88

@@ -13,13 +13,18 @@ The plugin allows teachers to:
1313

1414
Supported formats:
1515

16-
* For editing: DOCX, XLSX, PPTX, DOCXF, OFORM.
16+
* For editing: DOCX, XLSX, PPTX, DOCXF, OFORM, ODT, ODS, ODP.
1717

1818
## Installing ONLYOFFICE Docs
1919

20-
You will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Chamilo and any end clients. ONLYOFFICE Document Server must also be able to POST to Chamilo directly.
20+
You will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Chamilo
21+
and any end clients. ONLYOFFICE Document Server must also be able to POST to Chamilo directly.
2122

22-
ONLYOFFICE Document Server and Chamilo can be installed either on different computers, or on the same machine. If you use one machine, set up a custom port for Document Server as by default both ONLYOFFICE Document Server and Chamilo work on port 80.
23+
ONLYOFFICE Document Server and Chamilo can be installed either on different computers, or on the same machine.
24+
If you use one machine, set up a custom port for Document Server as by default both ONLYOFFICE Document Server and
25+
Chamilo work on port 80.
26+
27+
The ONLYOFFICE server needs to be able to resolve your Chamilo portal's URL.
2328

2429
You can install the free Community version of ONLYOFFICE Docs or scalable Enterprise Edition with pro features.
2530

@@ -31,20 +36,25 @@ The Community Edition vs Enterprise Edition comparison can be found [here](#only
3136

3237
To use ONLYOFFICE behind a proxy, please refer to [this article](https://helpcenter.onlyoffice.com/installation/docs-community-proxy.aspx).
3338

34-
## Collect Chamilo ONLYOFFICE integration plugin
39+
## Download a more recent version of the Chamilo-ONLYOFFICE integration plugin
40+
41+
When approved by Chamilo and integrated as official plugin, the Chamilo team strives to provide the latest
42+
stable version of the plugin within the Chamilo package. Downloading another version of the plugin might have
43+
negative effects on your installation. However, if you believe you need to download a more recent version from
44+
the third party, here is the recommended procedure:
3545

3646
1. Get the latest version of this repository running the command:
3747
```
3848
git clone https://github.com/ONLYOFFICE/onlyoffice-chamilo
3949
cd onlyoffice-chamilo
4050
```
4151
42-
2. Get a submodule:
52+
2. Get submodules:
4353
```
4454
git submodule update --init --recursive
4555
```
4656
47-
3. Collect all files
57+
3. Clean up
4858
```
4959
mkdir /tmp/onlyoffice-deploy
5060
mkdir /tmp/onlyoffice-deploy/onlyoffice
@@ -78,21 +88,25 @@ Upload `onlyoffice.zip` (you'll find it in the Releases section). You'll see the
7888
7989
Then launch `composer install` from the Chamilo root folder.
8090
81-
Return to the plugin list, select the ONLYOFFICE plugin, and click Enable the selected plugins.
91+
Return to the plugin list, select the ONLYOFFICE plugin, and click "Enable".
8292
8393
## Configuring Chamilo ONLYOFFICE integration plugin
8494
8595
On the Plugins page, find ONLYOFFICE and click _Configure_. You'll see the _Settings_ page. Enable the plugin and specify the _Document Server address_.
8696
8797
Starting from version 7.2, JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs and for security reasons and data integrity.
88-
Specify your own **Secret key** on the Chamilo **Settings** page.
89-
In the ONLYOFFICE Docs [config file](https://api.onlyoffice.com/editors/signature/), specify the same secret key and enable the validation.
98+
Specify your own **Secret key** on the Chamilo **Settings** page. The key can be found on your OnlyOffice server, depending on the type of server. See the ONLYOFFICE Docs [config file](https://api.onlyoffice.com/editors/signature/) page for more details.
99+
Specify the same secret key (search for a long hash string next to "secret") and save.
100+
101+
The plugin will tell you if anything is wrong.
90102
91103
## How it works
92104
93-
* To create a new file, the teacher opens the necessary folder and clicks the ONLYOFFICE icon "Create new".
105+
### For teachers/trainers
106+
107+
* To create a new file, teachers can open the documents folder and click the ONLYOFFICE icon "Create new".
94108
* The user is redirected to the file creation page where they need to enter the file name and format (text document, spreadsheet, or presentation). The browser calls `/plugin/onlyoffice/create.php` method. It adds the copy of the empty file to the course folder.
95-
* To open an existing file, the user chooses the _Open with ONLYOFFICE_ icon.
109+
* To open an existing file, the user chooses the _Open with ONLYOFFICE_ icon next to the normal edit icon.
96110
* The request is being sent to `/plugin/onlyoffice/editor.php?docId=«document identificator»`. The server processes the request, generates the editor initialization configuration with the properties:
97111
98112
* **url** - the URL that ONLYOFFICE Document Server uses to download the document;
@@ -109,6 +123,11 @@ In the ONLYOFFICE Docs [config file](https://api.onlyoffice.com/editors/signatur
109123
* After 10 seconds, Document Server makes a POST request to **callbackUrl** with the information that editing has ended and sends a link to the new document version.
110124
* Chamilo loads a new version of the document and overwrites the file.
111125
126+
### For learners
127+
128+
* Learners have access to a new ONLYOFFICE icon next to all documents supported by ONLYOFFICE in the documents tool.
129+
* In the learning paths, the viewer seamlessly integrates with Chamilo to open the supported documents.
130+
112131
More information on integration ONLYOFFICE Docs can be found in the [API documentation](https://api.onlyoffice.com/editors/basic).
113132
114133
## ONLYOFFICE Docs editions

0 commit comments

Comments
 (0)