I am newbie in Umbraco. We have a requirement wherein a chat functionality needs to be made configurable across multiple pages so that business team have the option to enable the chat functionality in any page per their interest. We are using Umbraco 6.1 version. Can you please let me know how this can be done in Umbraco? Thanks much for your assistance.
This isnt really a question specific to the Umbraco CMS. It all depends on the setup of your website however live chat is very easy to add. I have used the following free tool which is very good.
Thanks for the response. We don't want to use any specific plugin here. Next, the expectation is it should be configured in Umbraco in such a way that business team should have the option to enable the chat feature in any page they want. Hope this clarifies.
I've added a True/False property on the Document Type for a textpage and then in the template I check if the property is true, and if it is — I render the script tag necessary for Intercom to work.
Similarly, if the plugin you're using allows customization via HTML (or script), you can add properties for the stuff you need to make configurable, and make sure to render those customizations in the template as well.
Can you post some sample code if possible in this regard? Pardon me since i am completely new to Umbraco and from Java background. A sample/example code will really help me to get going on this. Appreciate your response.
If you set up an Enable Chat property as a True/False datatype on a doctype, you can use code like this to only render the chat script on pages where it has been enabled:
Configuring chat in Umbraco
Hi,
I am newbie in Umbraco. We have a requirement wherein a chat functionality needs to be made configurable across multiple pages so that business team have the option to enable the chat functionality in any page per their interest. We are using Umbraco 6.1 version. Can you please let me know how this can be done in Umbraco? Thanks much for your assistance.
Regards, Raghu
Hi Raghu,
This isnt really a question specific to the Umbraco CMS. It all depends on the setup of your website however live chat is very easy to add. I have used the following free tool which is very good.
https://www.tawk.to/
You simply add script code to the header of whatever page you want it to appear.
In Umbraco you should have access to the HTML source of your website. You should then be able to easily add the script code.
Cheers,
Marc
Hi Marc,
Thanks for the response. We don't want to use any specific plugin here. Next, the expectation is it should be configured in Umbraco in such a way that business team should have the option to enable the chat feature in any page they want. Hope this clarifies.
Regards, Raghu
Hi Raghu,
I've done this with the Intercom chat plugin.
I've added a True/False property on the Document Type for a textpage and then in the template I check if the property is
true
, and if it is — I render the script tag necessary for Intercom to work.Similarly, if the plugin you're using allows customization via HTML (or script), you can add properties for the stuff you need to make configurable, and make sure to render those customizations in the template as well.
Hope that helps,
/Chriztian
Hi Chriztian,
Can you post some sample code if possible in this regard? Pardon me since i am completely new to Umbraco and from Java background. A sample/example code will really help me to get going on this. Appreciate your response.
Cheers,
Raghu
Hi Ragnu,
I agree with Chriztian on steps to integrate settings to enable/disable etc into Umbrasco.
Cheers,
Marc
Hi again Raghu,
If you set up an Enable Chat property as a True/False datatype on a doctype, you can use code like this to only render the chat script on pages where it has been enabled:
Hope that helps,
/Chriztian
Hi Chriztian,
Thanks for the response. That helped indeed.
Regards,
Raghu
is working on a reply...