Installing the widget: Drupal
There are several ways to install the Usedesk widget on a website made on the Drupal platform:
1. Create a chat channel in Usedesk and copy the widget code according to the instruction.
2. Go to the control panel of your website, click on the section "Structure" → "Block diagram".
3. Click on the "Custom Blocks" tab → "Add Block".
4. Enter the following data:
- Block Description: Online Chat;
- Block content: Insert the code of the widget;
- Text Format: Full Html.
Leave the remaining fields in their original form. Click the "Save" button.
5. Go back to the "Block diagram" tab. Place the block in the header of the site.
6. Find the "Online chat" block in the list and click on "Place block" and then on "Save Block".
7. The block will appear in the block diagram of the Header section. Click the "Save blocks" button at the bottom of the page.
Done, the widget is installed!
Installing the widget via a FTP
1. Create a chat channel in Usedesk and copy the widget code according to the instruction.
2. Log in to your website hosting or connect using an FTP client and open the file html.tpl.php . File path: modules/system/html.tpl.php .
Important! If you are using Drupal version 6, paste the widget code into the file page.tpl.php. The file is located in the folder of the theme you are using. Be careful: file page.tpl.php it is also located in other folders.
3. Go to the end of the file, paste the copied widget code before the closing
</body>
tag and save it.
Ready! The widget is installed.