I want to open a modal emerging window, with some HTML on it and a close button. It should open when the user visits the page. What is the simplest way of doing that and what modules should I use? I have tried with CTools and a javascript (jQuery) emulation of click on a hidden link, but that gives me problems and seem so convoluted to me. Is there any simplest way?

  • is your theme bootstrap theme base? – Yuseferi Jun 22 '16 at 7:32
  • No, it is based on Zend theme. – Cesar Jun 23 '16 at 5:18
  • what is on modal( drupal form or just data) ? – Yuseferi Jun 23 '16 at 7:12
  • The Drupal form itself. – Cesar Jun 24 '16 at 5:15

You can check one of the module:

  1. Splashify
  2. Pop-up announcement
  3. Popup On Load
| improve this answer | |
  • Sorry, but you are introducing modules which have aroud 1,000 downloads. CTools, on the other hand, has almost 1,000,000 downloads. I do not see the adventage of adding another module when I already use CTools. I would expect some behaviour or something to acomplish the task. – Cesar Jun 23 '16 at 5:17

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.