Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to add facebook page messenger chat plugin to my website in umbraco.
Can anyone please let me know the workflow ?
There are a number of options, and it depends a little on who will be adding the code, and who might need to update it in the future, and whether there are some pages you wouldn't want it on.
To begin with though you are looking for a 'Master layout' view.
If you look in the Settings section of the backoffice and click on templates - you are looking for an existing Master Layout template that all your existing templates 'probably' share.
if you click on one of your page templates you should see Layout="nameofmasterlayouttemplate.cshtml";
at the top to indicate where yours is...
if you have Layout="null";
then that means you don't have one and it's a good idea to introduce one, the above link shows an example of how to do so.
depending on your script this might need to be in the head section, so you'd paste it just before the closing html tag eg
or the script may need to be loaded at the bottom of the body of the template to delay it's execution eg
If you want to have control over which pages the script is loaded on or not, then you could add an 'excludeFacebookScript' checkbox on your Document Types - and check this value before writing out the script, so a site editor could choose to untick or tick the box accordingly.
Thank you Marc
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted