Forum Support

Shape 5
March 28, 2024, 04:28:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: iframe link to article  (Read 679 times)
pscoggins
Jr. Member
**
Offline Offline

Posts: 40



« on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
pscoggins
Jr. Member
**
Offline Offline

Posts: 40



« Reply #2 on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
pscoggins
Jr. Member
**
Offline Offline

Posts: 40



« Reply #4 on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #5 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
pscoggins
Jr. Member
**
Offline Offline

Posts: 40



« Reply #6 on: March 16, 2016, 12:21:27 PM »

OK..thanks for the info...will try a third party popup module.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.