Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:28:06 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 54
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 49
Total: 50

Author Topic: iframe in article  (Read 18822 times)

0 Members and 1 Guest are viewing this topic.

scotte44

  • Guest
iframe in article
« on: November 13, 2005, 10:15:28 AM »
I am trying to pull in an external page to the middle of my site when a menu link to an article is clicked. All I get is the original iframe html. Here is what I am using:
Code: [Select]
echo '<IFRAME src="http://www.mbdguild.com/roster.php" width="100%" height="3600" marginwidth=0 marginheight=0 frameborder=0 scrolling=no></IFRAME>' ;

gerrymo

  • Guest
Re: iframe in article
« Reply #1 on: November 13, 2005, 10:28:52 AM »
Try it without the php tags Just..

Code: [Select]
<IFRAME src="http://www.mbdguild.com/roster.php" width="100%" height="3600" marginwidth=0 marginheight=0 frameborder=0 scrolling=no></IFRAME>

snork13

  • Guest
Re: iframe in article
« Reply #2 on: November 13, 2005, 10:32:22 AM »
http://www.mbdguild.com/roster.php

doesn't appear to be anything there, it pulls the 404 in for me

gerrymo

  • Guest
Re: iframe in article
« Reply #3 on: November 13, 2005, 11:49:05 AM »
I got a whole page of errors on your link snork.

scotte44

  • Guest
Re: iframe in article
« Reply #4 on: November 13, 2005, 12:07:50 PM »
I fixed the errors. Took out the php tags and it still just gives me text.

gerrymo

  • Guest
Re: iframe in article
« Reply #5 on: November 13, 2005, 12:14:47 PM »
Try it in an html center block (no php tags), or a php block (with Tags). If that shows OK then it shouln't be too hard to get it into an article.

scotte44

  • Guest
Re: iframe in article
« Reply #6 on: November 13, 2005, 12:34:52 PM »
Im stumped, it works fine as an html or php center block, but since I dont want the content on my homepage I need an article.

tattooedpierre

  • Guest
Re: iframe in article
« Reply #7 on: November 13, 2005, 12:56:20 PM »
Im stumped, it works fine as an html or php center block, but since I dont want the content on my homepage I need an article.

Your implementation of overlib.. I've been trying to get that to work myself. There is a package called itemStats that allows you to link items in BB Code and display the mouseover data pulled from Allakhazam, but just now its only implemented for phpBB :( 

http://forums.eqdkp.com/index.php?showtopic=1768&st=225

.. anyways, i'm just interested as to how you got overlib working :( .. and if so, does it work anywhere on your site?

gerrymo

  • Guest
Re: iframe in article
« Reply #8 on: November 13, 2005, 01:10:20 PM »

Leviathan

  • Guest
Re: iframe in article
« Reply #9 on: November 14, 2005, 05:12:13 AM »
Scotte44, it works on my test site. That is what your looking for, right?

Just insert the iframe line as PHP code (so with the echo command) in a PHP article, go to the TPAdmin menu manager and add a new article item, activate it and it should show up as a link in the menubox block (assuming you have one). That is how I do it and worked for me so far!