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.
Simple Footer Configuration¶
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.
CEP_LINK_LIST_FOOTER¶
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.
environment:
- 'CEP_LINK_LIST_FOOTER={"de" : {"Anleitungen" : "https://example.com"}, "en" : {"Howto" : "https://example.com"}}'
environment:
- CEP_LINK_LIST_FOOTER=[]
Granular Footer Configuration¶
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.
CEP_LINK_IMPRINT¶
URL to imprint. If set link will be displayed in the footer.
environment:
- CEP_LINK_IMPRINT=https://example.com/imprint.html
environment:
- CEP_LINK_IMPRINT=
CEP_LINK_PRIVACY¶
URL to the privacy terms. If set link will be displayed in the footer.
environment:
- CEP_LINK_PRIVACY=https://example.com/privacy.html
environment:
- CEP_LINK_PRIVACY=
CEP_LINK_SUPPORT¶
URL to support website. If set the link will be displayed in the footer.
environment:
- CEP_LINK_SUPPORT=https://example.com/suppoer.html
environment:
- CEP_LINK_SUPPORT=
CEP_LINK_TERMS¶
URL to the terms of use. If set link will be displayed in the footer.
environment:
- CEP_LINK_TERMS=https://example.com/terms.html
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.
volumes:
- ${PWD}/legal:/var/www/html/public/legal:ro
environment:
- CEP_LINK_TERMS=/legal/terms.htm