TinyPortal

Development => Support => Topic started by: godzirrarawr on May 22, 2007, 11:23:18 PM

Title: Spawning link inside of page
Post by: godzirrarawr on May 22, 2007, 11:23:18 PM
TP v0.9.8

I'm logged into the Block Manager, creating links to show up on the left column of the site.

I go to Menu Manager, and add a Menu item called DKP. I set it up as a Link, and i add the url in the format of:

http://www.domain.com/folder

Now, this creates a link under the menu, yes. But it spawns a whole new window. What I want to happen is that the window is opened within the Left, Right, and Top panels. Basically embedding that page into the page, but with all the borders intact. I can't seem to figure this out, hell, I don't even know the correct terminology to google/search for, so I'm sure its something simple.

Someone please bust out a way for me to do this easily. We just want our DKP/phpraid pages embedded into the page as a whole, it would make things so much easier!
Title: Re: Spawning link inside of page
Post by: tick on May 22, 2007, 11:46:05 PM
If I understand you correctly you can accomplish this with a iframe in a article.
Title: Re: Spawning link inside of page
Post by: ajbcreations on May 23, 2007, 12:28:39 AM
where would you put this code to accomplish this? Have to edit and files in SMF?
Title: Re: Spawning link inside of page
Post by: tick on May 23, 2007, 02:01:59 AM
No you would put the iframe in an article and then make your link a link to your article.  Check in the block code snippets board under iframes and that will help you get started. 
Title: Re: Spawning link inside of page
Post by: godzirrarawr on May 23, 2007, 03:18:59 AM
Ah! That did the trick, thank you VERY much :)
Title: Re: Spawning link inside of page
Post by: tick on May 23, 2007, 03:21:22 AM
You are very welcome.  Lots of neat things that can be done with the iframe.  Glad it worked out the way you wanted.
Title: Re: Spawning link inside of page
Post by: bcupp on June 22, 2007, 03:58:10 AM
This doesn't exactly solve the issue the way I'd like to see it resolved. Is there a way to create a link without using an article to put information in to see on the page. No iframes, nothing that can be commented or whatever. Just a simple page with information that I can link to from the menu from the side.

I'm trying to play with portal software, in the past I've always just opted to make my own site and link to the forum. Giving portal software another shot.
Title: Re: Spawning link inside of page
Post by: tick on June 22, 2007, 04:03:38 AM
Using the article system you can create a page .  You do  not have to have the part where users comment on it on.  It will look just like a regular web page that looks like it is part of the forum.  You can turn off all options  such as the blocks or the commenting so it does not show in the article.  It would however still have your forum header at the top just like the forum does.  This portal software has almost unlimited possibilities. 
Title: Re: Spawning link inside of page
Post by: bcupp on June 22, 2007, 05:22:41 AM
Every portal software has unlimited possibilities if you hack the crap out of it. This type of simple menu/page option should be a default option.

That is, unless I'm missing the default option to set this type of situation up.
Title: Re: Spawning link inside of page
Post by: IchBin on June 22, 2007, 06:39:17 AM
The instructions he gave you are default features....
Title: Re: Spawning link inside of page
Post by: vanguard on June 22, 2007, 07:09:59 AM
I've tried them all and SMF/TP is the best.
Title: Re: Spawning link inside of page
Post by: bcupp on June 22, 2007, 04:30:55 PM
I don't considering using an iframe tag a default option. However I did find the options to remove the commenting system from the articles. Guess that's the best that I'm going to be able to accomplish for a simple page containing information to link to.
Title: Re: Spawning link inside of page
Post by: IchBin on June 22, 2007, 04:34:47 PM
Quote from: Tick on June 22, 2007, 04:03:38 AM
Using the article system you can create a page .  You do  not have to have the part where users comment on it on.  It will look just like a regular web page that looks like it is part of the forum.  You can turn off all options  such as the blocks or the commenting so it does not show in the article.  It would however still have your forum header at the top just like the forum does.  This portal software has almost unlimited possibilities. 
This doesn't mention an iframe tag. This is what I was referring to as default options.
Title: Re: Spawning link inside of page
Post by: bcupp on June 23, 2007, 03:06:42 AM
Ah, yeah I found those settings to turn off for the block comments. My bad on that. :)

ps. Might want to change the 'and' to 'an' in your signature.
Title: Re: Spawning link inside of page
Post by: tick on June 23, 2007, 04:22:58 AM
Might I suggest a good read for you.  Check this (http://www.tinyportal.net/index.php?board=85.0) out.
Title: Re: Spawning link inside of page
Post by: Zetan on June 23, 2007, 09:24:16 AM
<a href="http://somehyperlink.com" target="self">TextHereMaybe</a>

target="_blank"   opens a new window.
target="self"    opens in the same window.

Is that what you were trying to do?