Skip to content

CEP Footer Configuration

The CEP provides the ability to configure links in the footer such as Terms of Use, or an Imprint. These links can be to resources outside the CEP, or you can inbed web pages into the CEP to be served up locally. If you choose to server pages locally, you must remember to mount the directory of the files in the docker-compose.yml file as well as leveraging the parameters below.

Configuration

The following parameters allow you to configure the links in the CEP's footer.

The following parameter allows you to manually create a list of link in the footer. You can set the language as well as the target URL for each link.

Array of footer links displayed in the page footer. If the required language was not found the CEP use the default language. In Most cases, this will be "en". Therefore, "en" should always be configured as language for footer links.

Example
    environment:
      - 'CEP_LINK_LIST_FOOTER={"de" : {"Anleitungen" : "https://example.com"}, "en" : {"Howto" : "https://example.com"}}'
Default
    environment:
      - CEP_LINK_LIST_FOOTER=[]

The following parameters can be used for a more granular approach and also if you wish to serve web pages locally. By including these parameters in the docker-compose file, they will automatically be added to the footer.

URL to imprint. If set link will be displayed in the footer.

Example
    environment:
      - CEP_LINK_IMPRINT=https://example.com/imprint.html
Default
    environment:
      - CEP_LINK_IMPRINT=

URL to the privacy terms. If set link will be displayed in the footer.

Example
    environment:
      - CEP_LINK_PRIVACY=https://example.com/privacy.html
Default
    environment:
      - CEP_LINK_PRIVACY=

URL to support website. If set the link will be displayed in the footer.

Example
    environment:
      - CEP_LINK_SUPPORT=https://example.com/suppoer.html
Default
    environment:
      - CEP_LINK_SUPPORT=

URL to the terms of use. If set link will be displayed in the footer.

Example
    environment:
      - CEP_LINK_TERMS=https://example.com/terms.html
Default
    environment:
      - CEP_LINK_TERMS=

Serving up a web page locally

To serve up a web page locally, please follow this example. Be sure to mount the directory where you store the file(s) locally.

Example
    volumes:
      - ${PWD}/legal:/var/www/html/public/legal:ro
Example
    environment:
      - CEP_LINK_TERMS=/legal/terms.htm