How to install the chat code on ModX
Method 1: Installation using Chunks
Go into your site’s admin panel, then navigate to the Elements section.
Next, Add a New Chunk with the following settings:
Name: JivoChat
Chunk code (html): The JivoChat code is available in the JivoChat app, in the Installation section: Manage -> Channels -> Settings -> Installation.
Once the code is added, make sure to click Save.
Then, navigate to the Templates section: Elements -> Templates.
Edit your template by pasting the JivoChat code before the </head>
tag in the main code of your site. [[$jivoChat]]
. And you’re done!
Note: For some versions of MODx, the JivoChat chunk call-up will be different.
Also, if you use multiple templates on your site, you need to install the JivoChat code on each template.
Method 2: Installation directly in site templates
Go into your site’s admin panel, then navigate to the Elements section.
Open your site’s default template.
Paste the JivoChat code into the main code of your site, before the </body>
tag. That’s it. You’re done!
Note: If you use multiple templates on your site, you need to install the JivoChat code on each template.