side_menu_doc/docs/setup.md
Simon Vieille 8e23bd78df
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
replace mkdocs with docusaurus
2024-01-23 23:46:17 +01:00

42 lines
1.2 KiB
Markdown

---
sidebar_position: 2
title: Installation and upgrade
---
Installation and upgrade
========================
Custom menu is available from the [app store](https://apps.nextcloud.com/apps/side_menu).
| Version | Nextcloud | PHP | Other |
| :--: | :--: | :--: | :--: |
| 3.x | >= 25 | PHP >= 8.0 | App `theming` enabled |
| 2.x | < 25 | PHP >= 7.1 | App `theming` enabled |
```bash
cd /path/to/nextcloud
php occ app:install side_menu
```
If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/releases and copy the link to the last release (side_menu_vX.Y.Z.tar.gz). Then:
```
cd /path/to/nextcloud/apps
curl -sS https://gitnet.fr/attachments/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | tar xvfz -
```
Administrators can edit many settings using the administration page.
Users can disable the menu using the page of personal settings.
### Use first top menu app as default app
You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your `config/config.php`:
```php-inline
'defaultapp' => 'side_menu',
```
If the top menu is empty then it redirects to files.