side_menu_doc/docs/setup.md
Simon Vieille f198fd0f03
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update install
2023-02-23 08:36:32 +01:00

43 lines
1.2 KiB
Markdown

---
hide:
- navigation
- toc
---
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.