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;amp;wkst=1&amp;amp;bgcolor=%23ffffff&amp;amp;src=6uemf0u3aqg89knqb4ndic0n04%40group.calendar.google.com&amp;amp;color=%23853104&amp;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)

enter image description here

after making above mentioned changes in code @ frond-end (notice on right iframe tag highlighted tag not case previously):

enter image description here

so iframe tag not rendering in case.

since using iframe in django cms, recipe mentioned in stackoverflow post assist you.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -