Add Iframe

utomo5

No avatar

2008-01-10 20:18

Hello, i have difficulty to put a <IFRAME> on a single subpage. I dont want to put it in the container.tlp, because this single subpage contains only the IFRAME. I try adding it simple :

in the Admin -> Pages -> New Pages
in the "Full description"
I type <iframe src="http://localhost/index.php" style="width:500px;height:500px;"></iframe>

It shows/print the line exactly the same, actually I want to see the IFRAME panel.

Any hints/help regarding to this matter?

ps : I want also to use some DHTML scrpt in this Subpages

Thank you

» Quick.Cms v2.x

Tommy

cgan

Avatar: cgan

2008-01-10 20:59

utomo 5 - try this in Short description area:
<iframe src="yourfolder/yourpage.php" style="width:500px;height:500px;"></iframe>
This will work for me but remember do not use the WYSIWYG editor! See that it will be set to No in Settings/Options.

utomo5

No avatar

2008-01-12 08:49

Sorry for this late reply, Yes... it's working !!!, but I have now problems on adding some javascript. Well I think I might add it on the container.tlp right? or any non-generic tips, perhaps?

btw, Thank you very much cgan for your quick reply.

Tommy

cgan

Avatar: cgan

2008-01-12 17:57

utomo5 - If you want to run the script in yourpage.php you better add into that page.

microdigital

Avatar: microdigital

2012-05-02 22:51

Add following line into templates/admin/edit.tpl:

extended_valid_elements : "iframe[src|width|height|name|align]",

just before:
debug : false
});
</script>
<!-- END TINY_HEAD -->

This will work without disabling the WYSIWYG editor.
(see the website in my signature - the contact form is within an iframe)

http://cabinetestomatologicebucuresti.microhost.ro

about us | contact