[Plugin: Embed Iframe] problem when switching to PHP5
-
I switched to PHP5 and my iframe changed size unexpectedly. In the page source the frame was being rendered with the attribute
style="height:<?=$height?>px;width:<?=$width?>px;"
I fixed this by changing the shorthand tag in the template file /embed-iframe/view/embediframe/iframe.php to a standard one, i.e.:
style="height:<?php echo $height ?>px;width:<?php echo $width ?>px;"
In addition I notice that there are a pile of unneeded functions in the ‘plugin framework’ you’ve included. Are these really all necessary? Can we reduce bloat in future implementations?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Embed Iframe] problem when switching to PHP5’ is closed to new replies.