-
AuthorPosts
-
funci Friend
funci
- Join date:
- February 2008
- Posts:
- 246
- Downloads:
- 29
- Uploads:
- 64
- Thanks:
- 93
- Thanked:
- 5 times in 2 posts
March 13, 2015 at 4:11 pm #204638Hi all,
I would like to use JA Popup plugin to put inside some articles.
Now when I am using syntay like this:{japopup type="iframe" content="index.php/117-elektrolux/243-vremenska-prognoza" width="900" height="500"}Prognoza popup{/japopup}
in popup is whole page (header, menu, article and footer).
How can I get only article inside?phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 16, 2015 at 5:17 am #563195Hi funci,
You should decrease the width property for your popup element. I see you have assigned width=”900″ for your popup element, please change this value then recheck.
Thanks
funci Friendfunci
- Join date:
- February 2008
- Posts:
- 246
- Downloads:
- 29
- Uploads:
- 64
- Thanks:
- 93
- Thanked:
- 5 times in 2 posts
March 16, 2015 at 8:27 am #563224Hi Leo,
I’ve tried diferent widths but result is always the same.
Width of popup window is always the same and always I’ve got whole web page inside and I only want to be shown is article.phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
March 16, 2015 at 2:46 pm #563283Hi Funci,
I’m sorry for misunderstand your point
<blockquote>Width of popup window is always the same and always I’ve got whole web page inside and I only want to be shown is article.</blockquote>
If you use popup iframe to load a Joomla! artcile link, the iframe windows will add anything like menu, sidebar, footer inside the Iframe.
In this case, please change your link like so
http://ja.com/index.php?option=com_content&view=article&id=351&task=display&tmpl=component
that means we will get the article content only without menu, sidebar, footer, etc, so the japopup code look like so
<p>{japopup type=”iframe” content=”http://ja.com/index.php?option=com_content&view=article&id=351&task=display&tmpl=component” width=”500″ height=”400″}Load a sample iFrame{/japopup}</p>
The result
NOTE: You can get your article id via content manager like so
Hope that helps.
- AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)
This topic contains 4 replies, has 2 voices, and was last updated by phong nam 9 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum