.html links converted to iframe... ...make it stop!
glass.dimly - June 28, 2009 - 21:23
Hey all,
All my links are being converted to iframes. Weird.
<a href="http://forusa.org/about/staff.html#top">Back to the top</a>
Becomes
<iframe width="400" height="400" src="http://forusa.org/about/staff.html#top">
<html>
<head>
</head>
<body text="#000000" bgcolor="#ffffff" onload="P7_TMopen()">
<table width="700" height="408" cellspacing="0" cellpadding="0" border="0">
......
.....you get the idea
</table>
</body>
</html>
</iframe>Here's the cooky thing: I turned off ALL input filters on the page. I grepped for "iframe" in the enabled theme folder, and there was none to be found.
Grepping iframe in the modules folder returned too many files to be useful.
Any ideas?

=-=
what is P7_TMopen() ?
forusa.org is an internal link? if so; what happens if you use a relative url rather than an absolute?
I might ask you the same question....
What is what is P7_TMopen() ?
hehehe. But seriously, I found it, and here's a link to that Javascript: http://forusa.org/p7tm/p7tmscripts.js. A quick search reveals no "iframe" or "frame" in the code. But you might be onto something, that I should check legacy site. How likely is that?
I've got Lighbox installed. But what the heck is scanning and adding iframes, if not the theme or the filter? Hmm. Any ideas about what could do that on the Drupal side?
But no, forusa.org is not an internal link. It's an external one, the new site's in testing right now and the link is to the old, static site.
=-=
so let me get this straight. (Trying to dig into this on my machine but I can't reproduce the issue at all)
you are using drupal and aliasing your pages to look like html pages with .html on the end of the paths?
in drupal the only thing I can find out about iframes is the iframe.module. Is this deployed on your site in some way?
LOTS of modules.
I have a lot of modules on the site. I was going to post the list, but it was embarrassingly long. However, iframe is not among them. Plus, wouldn't that be running as a filter?
What could be adding that code other than javascript, a filter, or some sort of module hook? Help me out here.
I'm not aliasing the html pages, as far as I know.
I'll try on some different themes and get back to this thread. Also, this is getting to the point where I'll have to follow up on all the results of my iframe grep.
Jquery Media Module...
...was the culprit. Disabling that module fixed the iframe problem.