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

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 08:11:30 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 107
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

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

Im an idiot, didnt try using a php article, just regular. Worked like a charm, thanks. :)

iowamf

A regular article works OK too though ...

I use mostly regular articles for iframes so I can have a bunch of them in one category and use the "intro" text fetaure - the PHP articles don't have the "intro" feature.

scotte44

I tried the regular article, but it wouldnt display the iframe.

iowamf

Understood, but a PHP article is not required.

This is one of my non-PHP articles to pull up help in an iframe - its only one line of code.

<iframe src="http://mysite.com/portal/Themes/default/help/index.english.html"  width="100%" height="1800"></iframe>

scotte44

I used the code you have above in a non php block and got the same result. All I get back is the exact html iframe code. The page doesnt show up.

Leviathan

scotte44 is right, that does NOT work (tested myself).  :coolsmiley:

iowamf, you're not pulling our leg are you  :knuppel2:

If not than you're either using a different or hacked version of TP (I'm using 0.75) or you're using php-articles and just don't know it  :idiot2:

Please enlighten us brother iowamf? ;D

iowamf

I bet I know what the issue is ... it's that crappy editor Bloc hates so much.

There is an issue when you use the WYSIWG editor to enter raw html into an article - especially when the article  *STARTS* with raw HTML - as in my example.  Note, the "toggle" mode of that editor doesn't work too well either - it toggles your text ;-)

Make sure you go into the General Settings of TPADMIN and turn that editor off if you want to enter raw html into an article. Where it says - Use the WYSIWYG editor?:   Make sure it says NO.

Nokonium

I don't use the editor and that code works fine.

Leviathan

Quote from: iowamf on November 14, 2005, 11:17:21 PM
I bet I know what the issue is ... it's that crappy editor Bloc hates so much.

Your absolutely right, it's the WYSIWYG editor. I turned it off and the iframe code now also works in a normal non-php article. Cheers  :)

KBkustoms

OK...I'm getting frustrated now. :(

And I may be wrong, but, from what I gather by reading through this thread, by using the Iframe code :
<iframe src="http://www.kbkustoms.com/2003/index.html"
height="100%" width="100%" Scrolling="yes"></iframe>

into a regular article...it "should" display the linked page within my TP (075) enabled  forum/site (SMF 1.05)...correct??

Ive tried PHP (with and w/o the "echo" tags) and Regular articles...turned off the WYSIWYG editor...activated article, but still do not see anything (no code, no text, nothing but "no articles in this section").

I dont believe I have quite "grasped" the hierarchy or structure either...is there a good "basic guide" as to how the category/article/menu functions relate to one another?
Everytime I think I'm getting the hang of it...I run into something like this and take two steps back...so to speak. ???
THANKS and Im sure I will feel like an idiot, :idiot2: but, at this point, thats better than getting nowhere fast! ;)