0
Welcome Guest! Login
0 items Join Now

Module pop-up from Menu Item Rok Box

  • Module pop-up from Menu Item Rok Box

    Posted 9 years 10 months ago
    • Hello,

      I have used rokbox for years. Im currently in the process of upgrading/migrating a 1.5 joomla site that used a rokbox syntax that loads a module in a pop up. the code is like this: # rel=rokbox[750 285][module=additional-module]. I cant get it to work in the new version of rokbox from the menu item. I have both the content and system set to backwards compatibility but am having no luck.

      Is there a new way to trigger a pop up from a menu item in Rokbox 2? If so it would be great if I could get the info!

      Thanks,

      John
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done
  • Re: Module pop-up from Menu Item Rok Box

    Posted 9 years 10 months ago
  • Re: Module pop-up from Menu Item Rok Box

    Posted 9 years 10 months ago
    • Thanks Dan,

      I see through the tutorial you can link externally but is it possible to show the contents of a module like the old version of Rokbox?

      Thanks,

      John
  • Re: Module pop-up from Menu Item Rok Box

    Posted 9 years 10 months ago
    • For example - This was my old code from the original Rokbox. This displayed a module. This was put in as the external link and it triggered rokbox. # rel=rokbox[750 285][module=additional-module]

      What would be the updated code to show a module?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Module pop-up from Menu Item Rok Box

    Posted 9 years 10 months ago
    • jbravo8212 wrote:
      For example - This was my old code from the original Rokbox. This displayed a module. This was put in as the external link and it triggered rokbox. # rel=rokbox[750 285][module=additional-module]

      What would be the updated code to show a module?

      First let me say I have used BOTH extensively and RokBox2 is clearly superior ;)

      See " data-rokbox-element "

      These are the basics:

      1) create your custom HTML module or use an existing module.
      2) the module MUST BE ON THE SAME PAGE as the RokBox trying to open that DOM element
      3) one of the few times I accept inline styling is to add a " style="display: none;" " to the opening <div> so the module can't be seen on the page.

Time to create page: 0.077 seconds