Articles with the tag:
Close
Changelog
Close
Help Center
Integration
  • All
  • Overview
  • Online editors integration
    • Installing ONLYOFFICE Document Server with Plone using Docker

Overview

Integrating ONLYOFFICE with Plone content management system through a connector, available in PyPi.org and on ONLYOFFICE GitHub page, allows you to edit Office documents within the document library.

Onlyoffice.connector plugin adds the following features:

  • A new ONLYOFFICE Edit menu option on the left menu when opening document files.
  • Editing the following formats: DOCX, PPTX, XLSX. These are also available for viewing in PDF together ODT, ODS, ODP, DOC, XLS, PPT format files.
  • Co-editing documents in real-time: use two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.

Would like to install Plone along with the ONLYOFFICE Office suite on your computer for development or a test-drive? Than you should use our Docker installation for Linux-based systems, so you can get you a complete view of the ONLYOFFICE Document Server’s functionality and features.

Visit our For Developers page to find out more about the ONLYOFFICE integration connectors in details.

Online editors integration

Installing ONLYOFFICE Document Server

You will need an instance of ONLYOFFICE Document Server that is resolvable and connectable both from Plone and any end clients. If that is not the case, use the official ONLYOFFICE Document Server documentation page: Document Server for Linux. ONLYOFFICE Document Server must also be able to POST to Alfresco directly.

The easiest way to start an instance of ONLYOFFICE Document Server is to use Docker Compose.

Installing Plone ONLYOFFICE integration plugin

Install plugin by adding onlyoffice.connector line to the eggs section of the ~/plone/zinstance/buildout.cfg file, so it should look the following way:

[buildout]
...
eggs =
        onlyoffice.connector

For the changes to take effect you need to re-run buildout from your console as non superuser:

sudo -u plone_buildout /plone/zinstance/bin/buildout

Restart your instance:

sudo /plone/zinstance/bin/instance restart

Open a browser, go to your Plone page, log in as Admin and open Site Setup > Add-ons section. Find the onlyoffice.connector among the available add-ons and press the Install button to enable it.

Configuring Plone ONLYOFFICE integration plugin

To configure plugin, go to Site Setup. Scroll down to Add-ons Configuration section and press the ONLYOFFICE Configuration button. In the Document Editing service field specify the URL address on which the ONLYOFFICE Document Server is installed.

Plone Configuration menu

Installing ONLYOFFICE Document Server with Plone using Docker

Installing ONLYOFFICE Document Server

You will need an instance of ONLYOFFICE Document Server that is resolvable and connectable both from Plone and any end clients. If that is not the case, use the official ONLYOFFICE Document Server documentation page: Document Server for Linux. ONLYOFFICE Document Server must also be able to POST to Alfresco directly.

The easiest way to start an instance of ONLYOFFICE Document Server is to use Docker Compose.

Installing Plone server

First of all, we need to install some required dependencies before installing Plone. You can install them by using the following command:

sudo apt-get install build-essential gcc libjpeg-dev wget readline-common libssl-dev libxml2-dev libxslt1-dev python2.7 python-dev

Next, follow this instruction to download and install Docker on your computer. Docker is a program for automating application development and management in container-enabled environments.

Once you’ve installed Docker, run the following command to install Plone server with pre-loaded onlyoffice.connector plugin:

docker run -p 8080:8080 -e SITE="mysite" -e PLONE_ADDONS="onlyoffice.connector" plone

Where -p 8080:8080 is port which the server server will use, "mysite" is ID of the Plone server.

Plone server is now up and ready. Open a browser, type in the server address (e.g. localhost:8080) into the address bar and enter the pre-installed server.

Here are some examples on how you can manage Plone server through Docker.

  • To display all running containers, run the following command:
    sudo docker ps
  • To start/stop/restart a Docker container, use the following command:
    sudo docker stop|start|restart <container_name>

Installing Plone ONLYOFFICE integration plugin

Install plugin by adding onlyoffice.connector line to the eggs section of the ~/plone/zinstance/buildout.cfg file, so it should look the following way:

[buildout]
...
eggs =
        onlyoffice.connector

For the changes to take effect you need to re-run buildout from your console as non superuser:

sudo -u plone_buildout /plone/zinstance/bin/buildout

Restart your instance:

sudo /plone/zinstance/bin/instance restart

Open a browser, go to your Plone page, log in as Admin and open Site Setup > Add-ons section. Find the onlyoffice.connector among the available add-ons and press the Install button to enable it.

Configuring Plone ONLYOFFICE integration plugin

To configure plugin, go to Site Setup. Scroll down to Add-ons Configuration section and press the ONLYOFFICE Configuration button. In the Document Editing service field specify the URL address on which the ONLYOFFICE Document Server is installed.

Plone Configuration menu
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
You Might Also Like This:
Close