From 89a240f28349188e3b682233034fb591385a8d24 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 19 Jan 2023 19:45:27 +0100 Subject: [PATCH] Add docs for defaultTemplateDirectory app config Signed-off-by: Thomas Citharel --- .../default_files_configuration.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/admin_manual/configuration_files/default_files_configuration.rst b/admin_manual/configuration_files/default_files_configuration.rst index 7d6082970..132a8f291 100644 --- a/admin_manual/configuration_files/default_files_configuration.rst +++ b/admin_manual/configuration_files/default_files_configuration.rst @@ -27,3 +27,16 @@ They appear on the user's Nextcloud Files page just like any other files. .. note:: Overwriting the files in ``core/skeleton`` is not recommended, because those changes will be overwritten on the next update of the Nextcloud server. + + +Default file templates +---------------------- + +The default path for user templates is at ``/Templates`` (translated in the user's language). +If you need to override this path for all users, you can set + +:: + + occ config:app:set core defaultTemplateDirectory --value="CustomPath" + +This will only apply to new users.