1
mycroftmoon
myiframe error sort of

I am using the new 2.3.1 version...I also have the current 1.6 myiframe.....and using Xonerol_magenta theme.....

The error is odd....when you click on a myiframe link it opens properly in its frame (on the site) for about 3 to 4 seconds then refreshes the window (or so it looks) and it then the only item left in the window is the module i clicked on . So it breaks free of the site theme and is no longer framed on site. I even did a fresh install.....

Hope that makes sense......any suggestions - as there are no error codes generated et al.

ps- I did search the forums to no avail.

2
ghia
Re: myiframe error sort of
  • 2008/11/15 18:24

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Is the framed site of your own?
It is not allowed to frame other sites, without their written consent.

3
mycroftmoon
Re: myiframe error sort of

yes most are sub-modules an scripts that I host an run on my site...whiles others are a basic html page(very basic(text only)......yet they all break away from the theme :(

addendum.....
Well, tried some other browsers. I discovered after I had already posted....it works great in internet explorer.......but screws up totally in Firefox....so its not the module(?) or is the module missing some code to make it compatible with Firefox?

ps- I have designed everything on my site to be firefox compatible. I not much for MicroNazi software.

4
ghia
Re: myiframe error sort of
  • 2008/11/16 2:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


There are some Javascripts that are able to detect and pop out of framing. Are you sure they aren't on your site (link?)?

5
mycroftmoon
Re: myiframe error sort of

I double and triple checked......alas no Jscripts on half the pages called.....most are just plain and simple html that display pure text....The only java running is thru the Morph template for those effects....I disabled them, but that had no effect either. ...... :(


addendum:

I also applied the patches available for jseffects and Morph patch for 2.3.1....even after; the odd problem persists....

6
ghia
Re: myiframe error sort of
  • 2008/11/16 16:18

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Where can it be seen?

7
mycroftmoon
Re: myiframe error sort of

Link for myiframe:

Click in explorer - it will show fine
Click in firefox - it will break away from site theme

http://dukestreetmanor.com/dsm/module ... ame/index.php?iframeid=22

The html doc it is calling is very plain - here is the docs link too without myiframe
http://www.dukestreetmanor.com/dsm/dsmd.html

this is just one of many simple docs called...

8
ghia
Re: myiframe error sort of
  • 2008/11/17 11:46

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Your html source contains this in the header:
<meta name="generator" content="XOOPS" />
<
meta http-equiv="Refresh" content="; url=http://www.dukestreetmanor.com/dsm/dsmd.html" />

The first statement is for place reference only.
The second one is a redirect to the disclaimer page and the cause of your problem.
This is most likely the result of a manipulation of the header by PHP, probably due to a setting or configuration some where in your module.
I assume you filled the link in some place, where it shouldn't.
It is also possible that it has its origin in a theme or template.

9
mycroftmoon
Re: myiframe error sort of

Yeah it is fixed (works perfect). I guess sometimes it is good to have a fresh set of eyes look at something. THANKS......and it was the theme doing it.....in the Xonerol themes here is the tidbit of code that caused the whole issue - all I needed to do was rem out. (yeah - such a nice simple fix)

(dir/file - xotpl/xometas.html)

<{if $url}>
<meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<{/if}>

<!-- Force MSIE without javascript actived to take the default theme. not conforms to the standards but functional -->
<{if $isMsie}>
<noscript>
<meta http-equiv="refresh" content="0; url=<{xoAppUrl . xoops_theme_select=default}>" />
</noscript>
<{/if}>



THANKS AGAIN!!!

10
ghia
Re: myiframe error sort of
  • 2008/11/17 12:47

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Hummm, the iframe module uses probably the same Smarty variable ($url) as XOOPS(?) for its redirects. By disabling the lines, you may run into other problems, when this redirect is used.
Better solution would be that the url variable is changed in the module (php and templates) to iframe_url or something. Maybe you can contact the module developer for indicating this problem.

Login

Who's Online

75 user(s) are online (43 user(s) are browsing Support Forums)


Members: 1


Guests: 74


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits