Commenting system: integrate Discourse and Webflow

Well, I can’t seem to figure this out I’m afraid. Here is what I’ve done so far (apologies for blanking out some of it, I am not in a position to share the Discourse Forum URL that I have used, but replace this with your own). Maybe this gives you enough of a head start that you can figure it out?


STEP 1

Create a new project, add a CMS collection to it. Open up the CMS template page, and add an HTML Embed element (adapt this concept as required for your own project). I applied a min width and a min height to the HTML Embed just to ensure all content is visible.


STEP 2

Following the instructions you linked to, I adapted it slightly. The full “Allowed Hosts” is: discourse-embed-test.webflow.io. I used a path whitelist of /.*


STEP 3

Enter the code snippet that it gives you into the HTML Embed that you set up earlier. Utilising Webflow CMS, you can use the “Add Field” option to insert the Slug dynamically, as I have.



This is as far as I’ve gotten I’m afraid. This gives me the “Loading Discussion” notice that I posted further up, but I can’t figure out why it’s stuck on this.

P.S as I mentioned I had to remove the Discourse URL that I used, so if you do happen to try and navigate to the live site I’ve used as an example, this is why there it is blank.

2 Likes