# How to customize the footer

A custom **footer** for the Login window and/or for the main page can be configured to show one or more labels pointing to external links.

As you can see in the reference `configuration-wui.json.sample` file, both the `"login"` and the `"files"` sections have a `"footer"` section where you can enter the parameters for the footers. The footer for the Login window is configured in the `"login"` section and the footer for the main page is configured in the `"files"` section.

The configuration is the same in both sections and requires editing the mandatory parameters as in the following examples.

The first parameter to be configured is the **color** of the text in the footer.

```json
"color": "#00000",
```

Note that the `"color"` parameter can only be expressed by a hex value.

You then need to edit the strings in the `"links"` array as follows:

```json
"links":{ 
        "label": {
           "en":"Contacts",
           "it":"Contatti"
        },
        "url": "https://www.primeur.com/help-desk-support/",
        "newpage": true
        }
```

These are the 3 mandatory parameters that you must configure in the `"links"` section:

* `"label"`: the text that will appear in the footer. If multiple entries are configured for multiple languages, the Browser language will be applied. The default is English, therefore `"en"` must be present.
* `"url"`: the complete url of the page you want to link.
* `"newpage"`: enter `"true"` if you want a separate page to be launched, or `"false"` if you want the File Manager page to be overwritten.

You can customize multiple links in the footer simply repeating the objects contained in the `"links"` array as many times as needed. In this example, 3 links are configured:

```json
"links": [
         {
           "label": {
             "en": "Contacts",
             "it": "Contatti"
           },
           "url": "https://www.primeur.com/help-desk-support/",
           "newpage": true
         },
         {
           "label": {
             "en": "primeur.com",
             "it": "primeur.com"
           },
           "url": "https://www.primeur.com/",
           "newpage": true
         }
         {
           "label": {
             "en": "Privacy Policy",
             "it": "Privacy Policy"
           },
           "url": "https://www.primeur.com/privacy/",
           "newpage": true
         }
       ]
```

The result will appear in the footer as in the figure here below.

![](https://files.readme.io/c833f09-the_footer_in_the_login_window_updated.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-1.21/file-manager/customize-file-manager-externals/how-to-customize-the-footer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
