Ok.. so on my site i want my nba sim to appear inside my portal.
www.commonenemy.tk
i made a block for it as you may (or may not?) be able to see which will work as a 'link' pretty much, but overrides the whole page and thats not what im wanting.
i looked around here and have been getting some help from SMF forums, but i still cant get it to work.
I read on here to create an article and put the code in and that would work, however i tried this method as well and it didnt work.
is it because its a framed page? any help would be awesome! thank you.
Hi ricorico, welcome to TinyPortal.
When you tried the article, what exactly did you do?
Using an article with an iFrame should work for pulling in your NBA page into your forum page... after you have the article working correctly you would then need the link in the block to go to the article and not to the NBA page.
i went to articles - new html and posted in the frame code
<html>
<head>
<title>Main Index</title>
</head>
<frameset rows="48,*">
<frame name="header" scrolling="no" noresize target="main" src="index2.htm">
<frame name="main" src="index1.htm">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
and activated the article. however when i preview it all i see is the code like it looks above (no i didnt put the code brackets before the code lol i just pasted the code in general)
also once i do enter it if i try to just manually go to page=3 or whatever it says doesnt exist, or has not been submitted as well?
PS = im using the newest beta 3 version, and i did overwrite the editing thing as postd in a previous thread with the new java file? still same thing.
Quote from: ricorico on March 23, 2009, 09:06:01 AM
i went to articles - new html and posted in the frame code
and activated the article. however when i preview it all i see is the code like it looks above (no i didnt put the code brackets before the code lol i just pasted the code in general)
also once i do enter it if i try to just manually go to page=3 or whatever it says doesnt exist, or has not been submitted as well?
PS = im using the newest beta 3 version, and i did overwrite the editing thing as postd in a previous thread with the new java file? still same thing.
1/ When you post your code into the article editor window your editor should be in the 'code' mode... in your editor controls look for the green brackets '
<>' to switch into the code mode.
2/ The article must be assigned to a category and set to active before it will show.
EDIT: When your editor is in the HTML mode,
that's the default when it's first opened, it will be in the wizzywig mode... meaning that if you paste in some raw html code it will show you that code in your finished article.
excellent,. well 1/ i didnt know the < > so that worked!
however my frames code did not? my nba sim exports its own code each time its updated and i just ftp the info up, however i assume if i just get this frame working i wont have to worry about updating the article any.
could you test out and find out what the problem is?
actual url to the nba sim section: http://commonenemy.ifastnet.com/nbasim/
(i also put that full URL before the index1.htm etc.. on my frames code)
PS - is the editor suppose to have 2 big boxes?
Glad you got the editor sorted out. :up:
The top editing box is for your article and the bottom one is used if you have an 'intro' for your article.
Article iFrame content will be determined by what your NBA page displays at the time your article calls up the NBA page... it doesn't alter the content, it only shows whats on the page being called.
What is the code you are using for your article?
And, a link to your article would be good. ;)
This is the code
<html>
<head>
<title>Main Index</title>
</head>
<frameset rows="48,*">
<frame name="header" scrolling="no" noresize target="main" src="http://commonenemy.ifastnet.com/nbasim/index2.htm">
<frame name="main" src="http://commonenemy.ifastnet.com/nbasim/index1.htm">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
and this is the page - http://commonenemy.ifastnet.com/forum/index.php?page=6
its not showing anything really :(
still here ken? or anyone else?
We do this on our free time. Someone will get to your post when they have the time. You should use an iframe instead. All the information you need can be found on that by searching the forum here.
iframe did it. thank u
We'll need to wait until one of our TP code specialists has a chance to take a look at your code, I worked with it for a while and was only able to get your ad to display.
Here's the code I used:
<iframe src="http://commonenemy.ifastnet.com/nbasim/index1.htm" height="1000" scrolling="yes" width="100%"></iframe>
thanks ken that was pretty much my same code i used :) i dont know why i didnt think to just iframe it in the first place lol. its been a few years since ive worked with html etc.. , but your help was greatly appreciated :)