I do try to embed my Typeform in Django CMS. They way I do belive this should work is writing a custom Django CMS plugin, which basically just includes the embed code from Typeform.
However, it does not work. I get the following error message from Django runtime:
/usr/local/lib/python3.7/site-packages/cms/templatetags/cms_alias_tags.py:21: DontUsePageAttributeWarning: Don't use the page attribute on CMSPlugins! CMSPlugins are not guaranteed to have a page associated with them!
The code I use to embed is standard embed code:
<div class="typeform-widget" data-url="https://form.typeform.com/to/XXX?typeform-medium=embed-snippet" style="width: 100%; height: 500px;"></div><script> (function () { var qs, js, q, s, d = document, gi = d.getElementById, ce = d.createElement, gt = d.getElementsByTagName, id = "typef_orm", b = "https://embed.typeform.com/"; if (!gi.call(d, id)) { js = ce.call(d, "script"); js.id = id; js.src = b + "embed.js"; q = gt.call(d, "script"))0]; q.parentNode.insertBefore(js, q) }})() </script>
Any solutions to this, or hints?
Thanks a lot