html - How to get my iframe code to display correctly in django cms? -
i using django cms create website , google calendar. however, when added code, comes plain code , won't display calendar. here link site: http://138.68.6.151:8000/en/events can explain how fix this?
after going site , using browser's console inspect iframe, found iframe tag improper (like text in quotes) , therefore not rendering properly. in paragraph tag, iframe tag should in following way:
<p><iframe frameborder="0" height="500" scrolling="no" src="https://calendar.google.com/calendar/embed?height=500&amp;wkst=1&amp;bgcolor=%23ffffff&amp;src=6uemf0u3aqg89knqb4ndic0n04%40group.calendar.google.com&amp;color=%23853104&amp;ctz=america%2fchicago" style="border-width:0" width="500"></iframe></p>
to verify this, after playing @ front-end level got following results.
previous state (also notice html code on right)
after making above mentioned changes in code @ frond-end (notice on right iframe tag highlighted tag not case previously):
so iframe tag not rendering in case.
since using iframe in django cms, recipe mentioned in stackoverflow post assist you.
Comments
Post a Comment