I should insert (of frontapp.com) before the body tag.
What is the file i need to modify?
I mean:
- file of the homepage? (i use simpleportal, so i think the file is of simpleportal)
- file of the forum page?
- file of other pages?
Your themes index.template.php file under the themes folder.
Tks
The script gives always error:
Parse error: syntax error, unexpected '<' in /Themes/default/index.template.php on line 358
This is the code:
<script>
window.FCSP = '...';
</script>
<script src="https://chat-assets.frontapp.com/v1/chat.bundle.js"></script>
I changed the private code with ...
The code should be inserted:
Copy this code snippet and insert it into your page right before the /body tag
change ' with " or \'
Tks, with " it works.
Other question:
- is there a way to let the script appear only in home page (i use simpleportal) and in the root page of forum?
- is there a way to let the script appear in some of the pages? (i use simpleportal)
For the 1st you can put in the simpleportal block that only shows on the homepage
Quote from: vbgamer45 on March 21, 2018, 11:09:32 AM
For the 1st you can put in the simpleportal block that only shows on the homepage
Clever! :)
I just put it in a block which is in that page and it works in everypage where that block is :)
Is there a normal way too?
Yup that is the easiest way to do it.