TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 03:54:16 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 234
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 238
  • Total: 238

iframe in article

Started by scotte44, November 13, 2005, 05:15:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scotte44

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:
echo '<IFRAME src="http://www.mbdguild.com/roster.php" width="100%" height="3600" marginwidth=0 marginheight=0 frameborder=0 scrolling=no></IFRAME>' ;

gerrymo

Try it without the php tags Just..


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

snork13

http://www.mbdguild.com/roster.php

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

gerrymo

I got a whole page of errors on your link snork.

scotte44

I fixed the errors. Took out the php tags and it still just gives me text.

gerrymo

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

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

Quote from: scotte44 on November 13, 2005, 07: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.

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?


Leviathan

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!