eFront lets advanced users who are familiar with coding and JavaScript further customize their portal functionality or add new functions to each of their themes.
Here's how in a few steps:
1. Sign in to your eFront account as Administrator and go to Home > Themes.
2. Go to the Change theme (1) tab and click the theme (2) you want to edit.
3. In the Functionality section, there's a Javascript (4) code area. Paste your JavaScript code there, as indicated by the "/*Place your JS code here*/" (3) text.
4. Click Update to save your changes.
Note: In the Javascript code area, you cannot use any code wrapped inside <script> tags. When you want to add such code (i.e., to link to a JavaScript source file, e.g., <script src="javascript source URL"></script>), then you must use the Embed Code (5) code area in the Embed Code section.
Note: Any JavaScript you add to a theme works only on that specific theme. To use it on a branch that has a different theme, you have to add it manually to the branch theme as branch admin.