0

I want a module to load in pop-up window. Ex. i have a module where the page callback will be a form. when user clicks on a link in my website. only the form has to load in the popup window like the lightbox 2 functionality.

i will generate a form in my custom module and i want the form to be displayed in the front-end of the site in a light box.. without other regions(header,footer,right,left) of the page.

3

Check out the Popups module, it may be what you are looking for.

  • no... i will generate a form in my custom module and i want the form to be displayed in the frontend of the site in a light box.. without other regions(header,footer,right,left) of the page. – Satya Jul 20 '11 at 5:57
  • popups module has an API and instructions how you can use them in your module.. – jan Jul 20 '11 at 6:05
1

got answer from one of my friend. have to use page-[path].tpl.php created in theme page and use it with regular lightbox or any other js.

1

There are basicly two alternatives:

  1. Using the Ctoosl Modal module. This module, included on the ctools project, is the most popular way to popup modal forms on Drupal, with lots of addon modules (like modal_forms). Here is a nice tutorial.

  2. Using a custom module. You may find the following modules helpful:

    • popup_message - which seems well supported.
    • popup_announcement - this is a new module which seems closer to what you search for, with full html support, but with only a few downloads.
0

I did something similar using this: http://flowplayer.org/tools/overlay/index.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.