TinyPortal

Development => Support => Topic started by: progged on April 21, 2006, 01:00:16 AM

Title: Content Link to IFRAMED center block (?/Req)
Post by: progged on April 21, 2006, 01:00:16 AM
Is it possible to have an entry/link in a content block (left side) link to a center block IFRAME that will only show when the individual clicks the link?  In other words, I don't want it to be displayed at all times in a center block when someone clicks HOME....

I run a gaming guild site, and basically want to have this page http://www.rpgoutfitter.com/wow-gm-rs/guild.cfm?guild=Final%20Rites@Stonemaul as an IFRAME or possible  PHP/JS INCLUDE, but only available from a link in a left side content block.

Hopefully that's clear hehehe
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: dkaye315 on April 21, 2006, 01:19:38 AM
why not post it as an article that has an iframe tag?
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: feral on April 21, 2006, 02:56:11 AM
just create a center block for your site, and have the ifram show the content of your home page by default, that way when they click the link it replaces the default content of the frame with the page you want.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: progged on April 22, 2006, 10:35:49 AM
Is there a guide to using articles?   I can just get an article to show on the front page, and I would like to have a block that links to articles (and not have them show up on the front page).

Next, using this code in an article, I get a blank small frame:


<iframe
src="http://www.rpgoutfitter.com/wow-gm-rs/guild.cfm?guild=Final%20Rites@Stonemaul"
width="100%"
height=575
scrolling="auto"
frameborder=0
marginwidth=0
marginheight=0>
This option will not work correctly. Unfortunately, your browser does not support Inline Frames
</iframe>


Do I have to use single quotes instead of double?
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: Xarcell on April 22, 2006, 11:06:32 AM
Are you using a html article? It should work. I do not see nothing wrong with your code, except you should add a frame name.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: G6Cad on April 22, 2006, 11:26:48 AM
Isent the code missing one > in the first row?

like <iframe> instead of <iframe ?
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: Crip on April 22, 2006, 11:39:14 AM
height=575
---------------
should be:
height="575"
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: progged on April 22, 2006, 04:31:58 PM
I figured out how to link to the module, but that iframe is showing up blank.  Even if I have a width/height tag incorrect, it should still show the frame - but it is blank.  I'm at a loss here...

SS attached.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: G6Cad on April 22, 2006, 04:49:12 PM
Quote<iframe>
src="http://www.rpgoutfitter.com/wow-gm-rs/guild.cfm?guild=Final%20Rites@Stonemaul"
width="100%"
height="575"
scrolling="auto"
frameborder=0
marginwidth=0
marginheight=0
This option will not work correctly. Unfortunately, your browser does not support Inline Frames
</iframe>

Try that
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: progged on April 22, 2006, 05:05:01 PM
Ok gentlemen, I figured this out as well.  The option to USE FRAME FROM THEME was selected within the article, and that was what was causing my problem. 

Thank you for jaring the brain cells :o  Please change this topic to [SOLVED].
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: johnwalkdaily on May 28, 2006, 06:47:52 PM
So, dumb question from this newby: How did you link to the module?

Thanks,
john@walkdaily.com

Quote from: progged on April 22, 2006, 04:31:58 PM
I figured out how to link to the module, but that iframe is showing up blank.  Even if I have a width/height tag incorrect, it should still show the frame - but it is blank.  I'm at a loss here...

SS attached.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: CrystalTears on August 30, 2006, 03:00:52 PM
Gah, this is what I want! I just wasn't sure how to link to the iframe.

Is the iframe put into an article or block? How do you create the link?

I could really use help on this, either here or in PMs. It's driving me mad.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: Xarcell on August 30, 2006, 03:06:08 PM
http://lissaexplains.com/frames.shtml#inline

You name your iframe[add (NAME="frame1") to iframe tag]. Then in your link[add (TARGET="frame1") inside the link tag.
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: Thurnok on August 31, 2006, 12:45:34 AM
Also, to answer a question near the begining of this thread, you can create an article that does not show up on the frontpage by changing the Show on Frontpage: radio button from yes to no.

Then you can create a menu link to go to your article:
<http://www.mysite.com/index.php?page=6>
Change www.mysite.com to your actual URL for your website and change the page number from 6 to the article number of the article you created.  You can check the number in the Manage Articles area (hover over the article link and look at the link in the statusbar.  The article number will be at the end).
Title: Re: Content Link to IFRAMED center block (?/Req)
Post by: CrystalTears on August 31, 2006, 12:55:04 PM
Thank you, Thurnok! Works awesome for me.