Open nobody4242 opened 7 years ago
Hi,
Best solution now is:
js/viewer/viewer.js
and lib/storage.php
- comment out lines with text/plain
.git clone https://github-url-to-your-fork richdocuments
into owncloud apps directoryParts 1, 3, 4 - is optional.
I wander if owncloud can provide UI/methods to choose one of apps/handlers.
Like it is in Android - call provider via SIM/SIP.
Edit files js/viewer/viewer.js and lib/storage.php - comment out lines with text/plain.
I tried this but did not work
@cdamken May be you need to purge assets
folder.
@sergey-dryabzhinsky Do you mean this folder?:
/var/www/owncloud/assets# ls -la
total 8
drwxr-x--- 2 www-data www-data 4096 Dec 8 19:38 .
drwxr-x--- 14 root www-data 4096 Dec 14 13:11 ..
Ifound the other one:
/var/www/owncloud/apps/richdocuments/assets# ls -la
total 80
drwxr-xr-x 2 www-data www-data 4096 Jan 26 14:36 .
drwxr-xr-x 11 www-data www-data 4096 Jan 26 14:36 ..
-rw-r--r-- 1 www-data www-data 12323 Jan 26 14:36 docxtemplate.docx
-rw-r--r-- 1 www-data www-data 8891 Jan 26 14:36 odttemplate.odt
-rw-r--r-- 1 www-data www-data 35481 Jan 26 14:36 pptxtemplate.pptx
-rw-r--r-- 1 www-data www-data 8113 Jan 26 14:36 xlsxtemplate.xlsx
root@snoopy3:/var/www/owncloud/apps/richdocuments/assets#
What should be removed there? I still want to use doc
documents with collabora. I only want the txt
to be excluded.
The first one. But it's empty. Problem is somewhere else.
Try to:
Hi all, after finally integrating Collabora/LibreOffice richdocuments into my ownCloud 9 setup everything works fine execpt that plain .txt files are also handled by the richdocuments app. I want to use the integrated owncloud plain old text editor for that. Where can i set this association, that on click txt files are not handled by libreoffice but by the owncloud text editor ?
(also setting other files handlers would be nice to know)
Please advice...