Forums / Developer / Using iframe

Using iframe

Author Message

Salvatore Guarino

Monday 28 November 2005 8:47:10 am

I'm not enough able with eZpublish to create a real extension fully integrated with the CMS, therefore now I'm using an IFRAME to include an external php page in my eZpublish site. I created a template containing this code using an override for a specified node:

<IFRAME src="/folder/test.php" frameborder="0" height="800" width="550">Your browser doesn't support iframe.</IFRAME>

It works, but I have a little problem: how can I pass "get" or "post" variables to the iframe? eZpublish intercept this variables and I cannot use them in the iframe. There is a workaround?

Thanks, Salvatore.

ludo thomas

Wednesday 07 December 2005 2:51:28 am

I'm not sure I've understand what U want to do but if you need to pass a variable to your frame have you tried this?

<IFRAME src="/folder/test.php?myvar={$myvar}".............................>