README.md 915 Bytes
Newer Older
Pierre Rudloff's avatar
Pierre Rudloff committed
1
2
3
4
5
6
7
8
# LimeSurvey ownCloud sync

LimeSurvey plugin that exports responses to an ownCloud server

## Install

You need to put the plugin in the `plugins/` folder of your LimeSurvey instance and then enable it in the LimeSurvey admin.

Pierre Rudloff's avatar
Pierre Rudloff committed
9
10
11
12
13
14
15
16
## Setup

You need to install dependencies with [Composer](https://getcomposer.org/):

```bash
composer install
```

Pierre Rudloff's avatar
Pierre Rudloff committed
17
18
19
## Usage

When editing a survey, you can go in the plugin settings (at the bottom of the survey settings menu) and fill in your ownCloud credentials and a path to an existing ownCloud folder.
Pierre Rudloff's avatar
Pierre Rudloff committed
20
The plugin will then create an Excel file in that folder and update it with new responses.
Pierre Rudloff's avatar
Pierre Rudloff committed
21
22

**Warning**: you should use an application password instead of your real password.
Pierre Rudloff's avatar
Pierre Rudloff committed
23
24
25
26

## How it works

The plugin uses the `afterSurveyComplete` hook to be triggered when a new response is complete and then uses WebDAV to connect to ownCloud and PHPExcel to create/edit the spreadsheet.