I can't save iframes in custom html modules

More
12 years 5 days ago #28732 by susanagarduno1
Hello,

I have been trying to create an iframe from google maps inside of a custom html module.

But, when I paste code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src=" maps.google.com.mx/?ie=UTF8&ll=19.43...=17&output=embed ">
maps.google.com.mx/?ie=UTF8&ll=19.43...=17&source=embed " style="color:#0000FF;text-align:left">Ver mapa más grande

Disappears everything between iframe tags and only remains:

<br /><small><a href=" maps.google.com.mx/?ie=UTF8&ll=19.43...=17&source=embed " style="color:#0000FF;text-align:left">Ver mapa más grande

I'm pasting this as html in html editor and I already removed filters in global configuration for superadministrator too, so none of this common problems should be causing the removing of iframe tags from my custom HTML.

Would you give me and advice?

My url: cfd2.gvamundial.com.mx/prueba2/

Thanks,

Susana

Please Log in to join the conversation.

More
12 years 5 days ago #28737 by ivan.milic
You need to enable iframe tag in editor settings (editor is plugin). Also set all options to no-filtering in Text Filters under global configuration

Please Log in to join the conversation.

More
12 years 5 days ago #28754 by susanagarduno1
Ivan,

Thank you for your answer. It helped me to insert iframes in modules, but now I see the iframe is always 320px x 240px, no matters what I put in their definition, I need it would be 600 x 400 at least.

I pasted this:

<iframe width="600" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src=" maps.google.com.mx/maps/ms?t=h&msa=0...645&output=embed ">
Ver maps.google.com.mx/maps/ms?t=h&msa=0...645&source=embed " style="color:#0000FF;text-align:left">Praha en un mapa ampliado

But iframe became 320 x 240

Would you tell me why the iframe becomes once and again 320 x 240 or what should I do?

Thank you.

Susana

Please Log in to join the conversation.

More
12 years 4 days ago #28768 by ivan.milic
Replied by ivan.milic on topic Just one more question
try style attribute instead of width and height attribute.
... style="width:320px;height:240px;"...

also try with !important flag if that does not work:

... style="width:320px!important;height:240px!important;"...

Please Log in to join the conversation.

Time to create page: 0.203 seconds
Powered by Kunena Forum