Customization Files
You can modify your Heretto Portal by adding and editing the configuration and style files in your Heretto CCMS. Each configuration and style file has a specific purpose and is responsible for different parts of the portal.
Configuration File
We defined multiple settings that you can use to align the portal to your needs by editing the config.json file. The configuration file can be edited directly in the Source Editor in Heretto CCMS. It enables you to edit elements like:
Title
Logo
The way programming code is interpreted and presented online
Content placeholders displayed upon triggering different actions
Footer contents
For more information on preparing and uploading the config.json file, see Customize the Heretto Portal Settings.
Style File
You can make your Heretto Portalmatch your brand's visual identity by applying your own CSS styling. You can maintain the code directly in Heretto CCMS and edit it in the Source Editor.
The CSS file is used for styling elements like:
Fonts
Links
Backgrounds
Padding and margins
Borders
Sizes
It is also used for changing the way different DITA elements are displayed. For example, you can change the way different types of DITA <note>
elements are presented.
For more information on preparing and uploading the .css file, see Customize Heretto Portal Styling.
Script File
You can modify the way your portal behaves and introduce custom features by applying additional JavaScript code. Custom scripts can be then saved in a scripts.js file.
Introduced enhancements may include modifications like:
Cookies consent
Newsletter subscription and other pop-ups
External plugins for sharing feedback by customers
Typically if a given modification goes beyond styling and settings available in the config.js file, it can be introduced with a custom script. You can either prepare your scripts in-house or use third-party scripts.
You can edit the code directly in Heretto CCMS by opening the the Source Editor.
For more information on preparing and uploading .js file, see Customize Heretto Portal Behavior.