Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Change Chatwoot Base URL inside Liferay to support self-hosted version
Hi all,
Liferay (7.4) automatically assumes that Click To Chat provider Chatwoot is hosted on app.chatwoot.com [1],
So I was wondering if there is a way to change that Base URL in that JSP File and point to a self-hosted version of Chatwoot [2] which works also exactly using the same method and process.
Any comments or thoughts would be appreciated.
Best Regards,
[1] https://github.com/liferay/liferay-portal/blob/master/modules/apps/click-to-chat/click-to-chat-web/src/main/resources/META-INF/resources/dynamic_include/chatwoot.jsp
[2] https://www.chatwoot.com/deploy/
Hi ,
As it is hardcoded, you may need to create JSP fragment hook for that and update your url.
https://help.liferay.com/hc/en-us/articles/360029122451-JSP-Overrides-Using-OSGi-Fragments
This was also asked (and answered) in slack (link). Serge, if you ask in both places please take it upon yourself to keep the info synced so that people don't duplicate assistance.
Powered by Liferay™