# Buttons

The card **Buttons** on the [WebInterface](Users-WebInterface.md) tab of a user decides which buttons the web interface shows this user: in the bar above the file list, and in the menu that opens on a right click.

A button that is not in the list is not shown. Taking **Delete** out of the list tidies the page; it does not take the permission away. What a user may do with a folder is set on the folder: see [The VFS editor](Users-Setup-VFS-Editor.md).

## The list

A new server's `default` user has these buttons, shown as `(command):Name`:

Create Folder, Download, ZipDownload, Advanced Download, User Options, Search, Paste, Copy, Cut, Upload, Rename, Delete, Share, Add To Basket, Show Basket, Slideshow, Edit Keywords, QuickView, Preview, Login, Logout.

| Control | What it does |
|---|---|
| **Add** | opens "Choose a button", the catalog below, then asks "Enter a name for this button:" and for its target |
| **Add Sub Item** | adds a button below a **Group** button |
| **Edit**, **Delete** | on a row |
| the handle at the left of a row | drag it to change the order. The order of the list is the order on the page. |
| **Filter** | shortens the list while you look for a button |
| **Menu Bar**, **Context Menu** | for the selected button: whether it is in the bar above the list, in the right-click menu, or in both |

The name is what the user reads. Change it freely: "Upload" can be "Send us files". The target asked for after the name is the command behind the button: "In general you should leave this value as its default."

## The catalog

| Button | What it does for the user |
|---|---|
| **Upload** | opens the upload window |
| **Download** | downloads the selected file |
| **Advanced Download** | downloads large files and whole folders in pieces, and goes on after an interruption |
| **Download All** | downloads everything of the folder |
| **ZipDownload** | downloads the selection as one zip file |
| **Zip Selected**, **Unzip**, **Explore zip contents** | makes a zip file on the server, unpacks one there, or looks into one |
| **Create Folder** | makes a folder |
| **Create Folder & Share** | makes a folder and shares it at once, with the share options set on the button |
| **Rename**, **Delete**, **Cut**, **Copy**, **Paste** | the usual |
| **Edit file (for context menu only)** | opens a text file to be changed in the browser |
| **Search** | opens the search |
| **Slideshow**, **QuickView** | shows pictures and previews one after another, or the selected one |
| **Download Low-Res** | downloads the preview picture instead of the original |
| **Share** | opens the share window |
| **Quick Share** | shares with the usual options, without questions, and shows the link |
| **Custom Share** | a share button with options of its own: see [Forms and share options](Users-WebInterface-Forms.md#custom-share) |
| **Manage Shares** | lists the user's shares, to change or end them |
| **Add To Basket**, **Show Basket** | collects files from several folders, to download or share them together |
| **Edit Keywords**, **Download Keywords** | changes the keywords of a file, or downloads them as a file |
| **Set Meta Property** | opens a form whose answers are stored with the file |
| **Change Icon** | gives a file or folder a picture |
| **CSVExport** | downloads the file list as a CSV file |
| **Expand/Collapse All Items** | opens or closes all folders of the tree view |
| **Show History** | shows who did what to the selected item. Needs **Folder and file history** on the [WebInterface](Users-WebInterface.md#switches) tab. |
| **User Options** | the user's own settings: password, language, and what else you allow |
| **BatchComplete** | tells the server "I am done", which runs events that wait for **Complete the batch** |
| **Subscribe To Events**, **Manage Subscribed Events** | notices about a folder: see [Reverse events](Users-Events-Reverse.md#subscriptions) |
| **Report A Problem** | sends a problem report: see [Custom events](Users-Events-Custom.md#two-relatives) |
| **Help** | opens the help page |
| **Login**, **Logout** | the usual. An anonymous user sees Login. |
| **Group** | a button that opens a menu of other buttons, its sub items |
| **Custom** | a button of your own, see below |

## A button of your own

**Custom** asks for a name and a target. The target is one of three things:

| Target | The button |
|---|---|
| a web address | opens that page |
| the path of a file of the user | opens that file |
| a piece of script | runs it in the page |

A **Custom** button also runs the user's events with the trigger **Custom**: see [Custom events](Users-Events-Custom.md).

## Groups

To keep the bar short, put related buttons into a menu:

1. **Add** the button **Group**, and name it, such as "More".
2. Select it and press **Add Sub Item** for each button that belongs below it.

Sub items are shown in the list with a `>` in front.

## Things to know

- The buttons are one card: a user who overrides it has a complete list of their own and no longer follows changes of the list on `default`.
- A button whose action the user is not allowed is shown and then refused by the server. Give a read-only user a list without Upload, Delete and Rename.
- To change the look of the buttons, or to hide parts of the page that are no buttons, see [Customizations](Users-WebInterface-Customizations.md).
