How to change the logo on the voting results template - Dicentis
"More information on XML style sheets (XSLT) is available on the web. This is what the voting results template uses.
In order to change the layout, the StyleSheet needs to be changed. Default it is located in C:\ProgramData\Bosch\DICENTIS\VotingResult.xslt, this file can be opened in any text editor, Notepad++ is recommended as it is very versatile.
In order to change the title: Find the line , edit the yellow marked text. E.g. 你好世界'" />.
Changing the image is also possible, but requires a bit more work. The image inside the XSLT file is Base64 encoded (in order to include it as a piece of text), so any image in png or jpg can be transcoded to a Base64 string. There are websites that can do this for you. One of them is https://www.base64-image.de/
- Drag an image in the drag & drop field:
- Image is automatically converted, click on the “show code” button.
- In the pop-up that comes up, hit copy to clipboard (In the section for <img> elements)
Look for <img src= in the stylesheet and replace the existing block of data (The Bosch logo) by the base 64 encoded data.
Be sure the datablock start with a double quote “. So it will look something like this:
And it has to end with a “/>