Need Help Form #3

Closed
opened 2026-03-10 13:00:54 +03:00 by mish · 1 comment
Owner

I want user to have Need Help form available on every page in order to support team be able to assist the user in difficulties.
Advice ready-to-user options.

I want user to have Need Help form available on every page in order to support team be able to assist the user in difficulties. Advice ready-to-user options.
mish closed this issue 2026-03-10 14:11:29 +03:00
Author
Owner

Implemented in commit 4d4d5b0 using Jivosite live chat widget.

How it works:

  • Widget script is injected in base.html — appears on every page automatically
  • Only loads when JIVOSITE_WIDGET_ID env var is set (no widget if empty)

To activate:

  1. Register at jivosite.ru, create a channel and get the widget ID (looks like aBcDeFgH)
  2. Add to .env:
    JIVOSITE_WIDGET_ID=aBcDeFgH
    
  3. Restart the web container

Code changes:

  • web/config.py — added JIVOSITE_WIDGET_ID setting
  • web/templates_env.py — new shared Jinja2Templates instance with jivosite_widget_id as a Jinja2 global (available in all templates automatically)
  • web/templates/base.html — widget <script> tag added before Bootstrap JS
  • All route files updated to import templates from web.templates_env instead of instantiating their own
Implemented in commit `4d4d5b0` using **Jivosite** live chat widget. **How it works:** - Widget script is injected in `base.html` — appears on every page automatically - Only loads when `JIVOSITE_WIDGET_ID` env var is set (no widget if empty) **To activate:** 1. Register at [jivosite.ru](https://www.jivosite.ru), create a channel and get the widget ID (looks like `aBcDeFgH`) 2. Add to `.env`: ``` JIVOSITE_WIDGET_ID=aBcDeFgH ``` 3. Restart the web container **Code changes:** - `web/config.py` — added `JIVOSITE_WIDGET_ID` setting - `web/templates_env.py` — new shared `Jinja2Templates` instance with `jivosite_widget_id` as a Jinja2 global (available in all templates automatically) - `web/templates/base.html` — widget `<script>` tag added before Bootstrap JS - All route files updated to import `templates` from `web.templates_env` instead of instantiating their own
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mish/evo-sync#3