Skip to content

About

No description, website, or topics provided.

Resources

Stars

13 stars

Watchers

3 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hide sidebars

Hide left sidebar and top header bar for use in iframe for example or some other scenarios.

Usage

Add hide-sidebars after ? as query parameter to nextcloud url or with dir parameter after &. If you need to hide only left or top menu you can use hide-left-menu or hide-top-menu.

Examples:

http://nextcloud.example.com/index.php/apps/files/?hide-sidebars
http://nextcloud.example.com/index.php/apps/files/?dir=/New%20folder&hide-sidebars

Screenshot

Tab view in sidebar

iframe

This app from version 2.0.0 brings new config parameter addAllowedFrameAncestorDomain to allow embedding into a website. Simply add the following line to your config/config.php:

...
'addAllowedFrameAncestorDomain' => '*.example.com:*'
...

If you run Nextcloud All-in-One (AIO), config.php lives inside the container, so set the value with occ on the host instead:

sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set addAllowedFrameAncestorDomain --value="*.example.com:*"

About

No description, website, or topics provided.

Resources

Stars

13 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages