0
Welcome Guest! Login
0 items Join Now

Module in pop up window

    • daejeon's Avatar
    • daejeon
    • Newbie
    • Posts: 8
    • Thanks: 0

    Module in pop up window

    Posted 11 years 5 months ago
    • I need to open a module in a pop up window.

      using the following I am able to open an article in a popup window
      <a class="readon rt-large-button" href="javascript&#058;void(0)" onclick="window.open('index.php?option=com_content&view=article&id=60', '1557536106', 'location=no, directories=no, toolbar=no, menubar=no, scrollbars=no, resizable=yes, width=800, height=600')"><span><span class="icon-external-link"></span> <span>Open in new window</span></span></a>

      I've been trying with no success to do the same for a module.

      I have tried using ...com_modules&view=module&id=204 but brings a 404 error.

      Can anyone help me?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Module in pop up window

    Posted 11 years 5 months ago
    • Use our rokbox2 extension and read the documentation and see the examples in the demo. http://www.rockettheme.com/extensions-joomla/rokbox .

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • daejeon's Avatar
    • daejeon
    • Newbie
    • Posts: 8
    • Thanks: 0

    Re: Module in pop up window

    Posted 11 years 4 months ago
    • I need a new browser window not a modal overlay. Moreover, there are no examples in rokbox2 where a module is opened in the rokbox window.

      Is there another solution?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Module in pop up window

    Posted 11 years 4 months ago
    • daejeon wrote:
      I need to open a module in a pop up window.

      So, by that I thought you meant a popup window? Now you're saying a "new window" instead which is different -so to do that you don't need rokbox2 at all. instead you just create a menu item (even in a hidden menu (one that does not have a menu module to display it anywhere). Then, ensure that the only module assigned to that menu item is the module that you want to show. Then, copy the link from the menu item and use that in your HTML link, and of course, add the target="_blank" to the HTML link.

      Then when you click on the link it will open you page in a new window, showing only the module that you published to that page in whatever position to which you published it.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • daejeon's Avatar
    • daejeon
    • Newbie
    • Posts: 8
    • Thanks: 0

    Re: Module in pop up window

    Posted 11 years 4 months ago
    • You still need to have an article assigned to the menu item. Even a blank article or blank featured article shows a small rectangle along with the component.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Module in pop up window

    Posted 11 years 4 months ago
    • Small rectangle ? where?

      Could you please post a URL to your site so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.


      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.071 seconds