Hello,
I want to show custom, or "nice looking" title in browser's webpage. By default, it shows name of visualization. Please look at screenshot attached to understand what i want to achieve.
I guess that it's not possible in easy way.
One way I can imagine is to change the .htm file in PLC, and add to it additional script to overwrite the title, but i will have to change the file every time after online change, or full download of PLC program...
Anyone have ideas?
Hello,
I want to show custom, or "nice looking" title in browser's webpage. By default, it shows name of visualization. Please look at screenshot attached to understand what i want to achieve.
I guess that it's not possible in easy way.
One way I can imagine is to change the .htm file in PLC, and add to it additional script to overwrite the title, but i will have to change the file every time after online change, or full download of PLC program...
Anyone have ideas?
Hello @dmitryy,
I found an even better way:
Open your webvisu.cfg.json and add the following entry: ChangeWindowTitle:false
E.g.
Edit your webvisu.htm to include a <title></title> with the title you want to have in
Changes have to be applied after every online change/download
Best regards,
Marcel
Last edit: m.prestel 2020-04-22
Hello @m.prestel,
I have checked this, it works. Very good workaround, big thanks!
Do you think if it is theoretically possible to modify these files from IEC application, using CAA FILE library?
Hello @dmitryy,
yes, that should work!
Best regards,
Marcel
check this example here:
https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25&page=1#75e1