Skip to content

Commit 258b675

Browse files
authored
Merge pull request #15190 from nextcloud/fix/admin/default-content-groupware
fix(admin-manual): mention app setting for groupware example content
2 parents 5ba360b + 4ac5aca commit 258b675

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

admin_manual/groupware/calendar.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ Example event
210210
.. versionadded:: 32.0.0
211211

212212
When a user logs in for the first time an example event is created in their personal calendar.
213+
214+
This feature is enabled by default and is controlled by the ``create_example_event`` app config.
215+
213216
As an admin, you can disable the creation of the example event.
214217
It is also possible to replace the default event with a custom one.
215218

@@ -219,6 +222,10 @@ To disable the creation of the example event for new users:
219222
2. Scroll down to the "Example content" section.
220223
3. Disable the "Add example event ..." setting with the checkbox
221224

225+
It can also be toggled from the command line::
226+
227+
sudo -E -u www-data php occ config:app:set dav create_example_event --value=no
228+
222229
To replace the built-in default event with a custom one:
223230

224231
1. Navigate to the Groupware settings in the admin settings.

admin_manual/groupware/contacts.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,18 @@ Example contact
8787

8888
When a user logs in for the first time an example contact is created in the user's address book.
8989

90+
This feature is enabled by default and is controlled by the ``enableDefaultContact`` app config.
91+
9092
To disable the example contact feature:
9193

9294
1. Navigate to the Groupware settings in the admin settings.
9395
2. Scroll down to the "Example content" section.
9496
3. Disable the "Add example contact ..." setting with the checkbox
9597

98+
It can also be toggled from the command line::
99+
100+
sudo -E -u www-data php occ config:app:set dav enableDefaultContact --value=no
101+
96102
If you want to set a specific contact that should be created.
97103

98104
4. Press the "Import contact" button.

0 commit comments

Comments
 (0)