01-20-2021, 10:49 PM
Templates are processed on the server. You can't write out the template on the client side using JS because the Delphi code does not have access to it.
I suggest you detect the browser on the server and alter which template file the page uses based on that. The template processor system is pluggable as well if you want to clone it to build this functionality into a new template processor.
I suggest you detect the browser on the server and alter which template file the page uses based on that. The template processor system is pluggable as well if you want to clone it to build this functionality into a new template processor.

