Test Discourse integration for existing forum topics
aschrijver opened this issue · comments
For background see #44 especially #44 (comment)
This issue is for testing the second method of forum creating: get comments from an existing topic.
See for instructions: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963
This is currently not supported, but we could include a PR to minimal-mistakes
to support it. Here is the code that is currently included:
I jus tested this with an adaptation to discourse.html
, in this commit e99bb42 (due to a typo not attached to this issue).
The integration to existing comments works now when adding discourse_topic_id: [topic-id]
to the page.
The only issue is that the first post in the topic is not included. I mentioned this on the Discourse Meta forum here: https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963/298
Note: Before closing, this needs to be documented somewhere (and also the other extension with 'prev' / 'next navigation overrides).