Shape 5

Joomla Templates => Oasis - Club => : pscoggins March 16, 2016, 05:24:16 AM



: iframe link to article
: pscoggins March 16, 2016, 05:24:16 AM
Hi
I have used and adapted the Iframe code from the tutorials to link to an article but the article loads with much of the front end images and content loaded also...like a mobile site.  Is it possible to have JUST the article pop up in an iframe or do I need a 3rd party pop up...like jcepopup?

code:
<td align="left" valign="top"><a href="index.php?option=com_content&amp;view=article&amp;id=65:diz-watson&amp;catid=23:other-artists&amp;Itemid=101" rel="width:790,height:600,[iframe]" id="mb28" class="s5mb" title="Diz Watson">Diz Watson[/url]</td>
Thanks


: Re: iframe link to article
: mikek March 16, 2016, 07:41:35 AM
Hello,

I am not entirely sure what you are trying to do, but you can't call just an article on a page. An article always called within the template's body, so it will adapt all the default features of the template on the page, ie: menu, module positions, css sheets, etc. I don't know of any way to call just an article outside of the template.


: Re: iframe link to article
: pscoggins March 16, 2016, 08:55:09 AM
I am trying to have a popup that contains an article when a link on another article page is clicked - rather than the article open the same or new window.  I have done this before using JCE MediaBox Popup.  Can this be done using iframe rather than installing  the JCE Media Box module (or similar)
Thanks


: Re: iframe link to article
: mikek March 16, 2016, 09:03:27 AM
Hello,

I'm sorry I am not sure, that is not something that I have every done before. There's nothing built into the template that would allow for that, so it would have to be some kind of third party extension.


: Re: iframe link to article
: pscoggins March 16, 2016, 09:21:04 AM
Hi
The iframe/html example on the Oasis demo site (http://www.shape5.com/demo/index.php?oasis) opens an iframe with the firebug site...is it not possible to load a specific article into this iframe?
this is the code on the demo site...rather than to a web site, cannot it not link to an article?

<a href="http://www.getfirebug.com" rel="width:790,height:600,[iframe]" id="mb28" class="s5mb"
title="http://getfirebug.com/">iFrame/HTML Example - CLICK ME[/url] <div class="s5_multibox
mb28">getfirebug.com</div>

Reason: We have a music festival site with an events schedule it would be useful to have a pop up when an artists name is clicked on rather open that article in the same (or new) window.
Thanks


: Re: iframe link to article
: mikek March 16, 2016, 11:40:21 AM
Hello,

Our entire demo is an iframe, which loads specific installations in the window.

I'm sorry you cannot call just an article in an iframe, I am not aware of any way to do that. The closest you can do is load entire url/site in an iframe which as I said above will load the entire template, it's not just isolate down to a specific article's text by itself.

Multibox will work with an iframe, but again you can't call just an article, it will load the entire template structure if you call a url on your site.


: Re: iframe link to article
: pscoggins March 16, 2016, 12:21:27 PM
OK..thanks for the info...will try a third party popup module.