Skip to content

Custom JS & CSS

To minimize the need for manual adjustments to the template file, which would have to be re-implemented with each update, the module provides the option to include custom CSS and Javascript code.

To include code in the template, create one of the following files:

  • /modules/addons/dservermanager/assets/js/custom/customTop.js
  • /modules/addons/dservermanager/assets/js/custom/customBottom.js
  • /modules/addons/dservermanager/assets/css/custom/customTop.css
  • /modules/addons/dservermanager/assets/css/custom/customBottom.css

The module verifies the existence of the files and includes them in the client area when a Tenantos product is opened. "Top" placement refers to the inclusion of the file at the beginning of the module output, while "Bottom" placement refers to the inclusion of the file at the end of the module output.