Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • funci Friend
    #204638

    Hi 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 Friend
    #563195

    Hi 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 Friend
    #563224

    Hi 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 Friend
    #563283

    Hi 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.


    1. 1
    2. result
    3. 2
Viewing 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, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum