JavaScript create modal windows/popups.

learn more… | top users | synonyms

0
votes
0answers
9 views

One Modal Form, various destinations

I am developing a page where various links open the same popup login form (using the Modal Forms module), but the form is supposed to redirect to a different place depending on which link the user ...
0
votes
0answers
19 views

Show map block in modal (ajax load)

I'm trying to get a map to appear in a modal but haven't worked out a solution yet. I have a list of items and I would like a map with their locations to appear when I click a 'view map' button. I'm ...
0
votes
1answer
23 views

How to retrieve sumbitted data in modal

I want in add content have a link(or button) when user click on lt the popup (modal or any popuping method like dialog,modal,lightbox,colorbox ) will open, in that form I want have some field, like ...
0
votes
1answer
34 views

How to use ctools modal to popup some fields of a node on node view?

I want when a user is viewing a node, some of the node fields will be shown as a popup (without any buttons). How can I do it? Thank You!
5
votes
1answer
82 views

Display delete confirmations in a modal window

How do I display delete confirmation form in a modal window? I have a view which displays submissions of an entity form. Each one has a 'delete' link for the admin to remove a particular submission, ...
0
votes
0answers
59 views

Modal Multi-Page Form Validation/Callbacks

I have the following multistep form. I would like to validate the email address to confirm that it is not registered in my database. If it's not I would want to register the user (my server doesn't ...
0
votes
1answer
42 views

How to disable ctools modal form on mobile device

I am using drupal 7 Totem distro (a responsive site). My problem is that the pop-up modal form works fine on large screens but doesn't respond well on mobile devices/smartphones. How do I disable the ...
0
votes
1answer
38 views

login redirection

I'm using a modal form module to display a modal login window, so far so good, but when I attempt to let it redirect on the current page that the user is displaying it redirect me to a not existing ...
0
votes
1answer
62 views

Why is redirect after login not working?

I use Ctools Modal to show the login form to users in an overlay. If a user enters right data then he is logged in and the page is refreshed. The code: function login_overlay_menu() { ...
0
votes
0answers
27 views

Comment Form in Popup

I want hide comment form on node pages but show it in popup when a comment link is clicked.If the user is not logged in, the comment link should display login form. Should i do it inside preprocess ...
0
votes
0answers
19 views

Modal Forms to include Webform Description

I'm using Modal Forms module to execute my Webforms inside of a Modal. Everything works but it only shows the title of the webform. I would also like to include the Webform description/body inside of ...
0
votes
1answer
202 views

How to open modal form on page load

I'm using modal form in drupal7.26 with WEBFORM module and is working fine when I click a link the form opens in new modal. What I want is to open the same WEBFORM with out clicking any link instead ...
0
votes
0answers
50 views

ctools modal and block edit form via contextual links

I have created modal window with ctools: function custom_menu() { $items = array(); $items['test/%ctools_js'] = array( 'page callback' => 'test_form', 'page arguments' => array(1), ...
0
votes
0answers
29 views

Modal form for every page

How can i set my all pages to open in modal form(ctools) by adding a class ? i found a post in Dropbucket but i can't make it !! <?php /** * Implements hook_init() */ function custom_init() { ...
0
votes
0answers
75 views

Javascript not loaded in loading ctools modal

I have a some modal forms, the link of those embedded in views result, link are somethings linke share/nojs/2 , I register a menu in callback of the links, It work correctly for root user, but I ...
0
votes
1answer
513 views

EntityMalformedException: Missing bundle property on entity of type node in modal

I want to open create content type in modal, according to modal form and modal api example, I implement it, I test the problem is here when I test it by contact form ctools_include('modal'); ...
0
votes
0answers
38 views

I have a Ctools Modal form. Can I open a link in the form within the modal?

I have a form that opens in a Ctools Modal. I've added a link to a sub-form in the form that I'd like to open within the open Modal and that when the sub-form is submitted, the user is returned to the ...
-2
votes
1answer
50 views

Modal form when windows is ready [closed]

In D7 i'm able to create modal form in a page with ctools and modal form . but i want to show my message in modal form after refreshing my website like welcome message something like Popop message. ...
0
votes
1answer
220 views

How can open add content form in modal form module

I want to load content form (example article content type ) in modal. As Modal module allow to open forms in modal, but by default it given this feature to some of the form. My question is how can I ...
0
votes
0answers
497 views

drupal load form with ajax callback in bootstrap modal

I need to load a form into a 'bootstrap modal dialog' which will submit data via ajax callback to callback function. The form display properly when the modal dialog is launched: <a ...
0
votes
1answer
25 views

Can Display Suite render content without my theme around it?

I'm just getting familiar with Display Suite and I want to know if I can use it to display only the content - not my header/footer/etc from my theme. My goal is to display this content in a modal ...
0
votes
1answer
111 views

How to use entityform and ajax_form_entity in a modal window?

Just getting started with the entityforms module (and it looks sweet!). I want to create a 'contact us' link that displays the form in a modal window, submits and then closes the window. There is ...
0
votes
2answers
1k views

Facebook like box as popup

I have the facebook like box in a block position and i want to make this block popup for first time visitors only. The popup will open only if the user visits the website for first time and will open ...
0
votes
0answers
60 views

Popup slide of galleries

I need to create a slide in popup where the user can list the galleries. In short, the left and right arrows is navigation for previous and next gallery (as well as numbers for navigation), each ...
0
votes
2answers
177 views

Instruct a CTools modal form NOT to use AJAX

I want a form to be loaded using AJAX in a modal, but when it is submitted, it should submit normally (it is posting to an external site, so it has to). Here's what I have so far: The code which ...
0
votes
1answer
153 views

ctools modal form shows ugly access denied

I have made a modal form using ctools. The form works okay when the user has access rights, but with no access rights an empty modal form is showing and I get a browser error saying "An AJAX HTTP ...
0
votes
1answer
2k views

How to display jQuery UI dialog in submit button's onclick and prevent form submission?

I'm using Drupal 7 and jQuery Update module set to jQuery version 1.8. I have a form. In it's definition I have: $form['#attached']['library'] = array( array('system', 'ui.dialog'), ...
0
votes
1answer
269 views

Open form module from popup

I have a basic module that I made for a survey/email collection form for a site I'm building. I'm very new to drupal and drupal development and I'm trying to figure out how to open this module on the ...
0
votes
1answer
251 views

Ctools modal close breaks page JS

I have created a custom module which opens modal with a specific Url Pattern. I'm using the url in a view and it works well. The only problem is that I also load another piece of jQuery to create a ...
1
vote
1answer
519 views

Ctools modals without AJAX

What's the sanest way to present a Ctools modal to the user while bypassing the normal AJAX workflow? For example, how could I show a completely JavaScript-generated "Are you sure you want to log ...
1
vote
1answer
147 views

Limited popup like once per month and user

Is there a module for Drupal that has the following options: show a popup once in a month/day/... should be configurable save this information in a cookie or else the popup should display some text ...
-4
votes
1answer
233 views

Looking for popup content module

For a D6 website i need to set a popup mechanism after a visiting defined duration time.I saw this module for D7 only : https://drupal.org/project/popup_announcement Do someone know about existing ...
0
votes
0answers
181 views

Popup modal confirmation dialog during form Validation

I have a standard From API form. When the user clicks the submit button I'd like to popup a modal dialog with some details relate to the submitted field with a proceed ( to submission ) and cancel ( ...
0
votes
1answer
206 views

Using Modal Forms - Relative paths don't work

I'm using the Modal Forms module to provide Modal Login and Register Forms across my site. Unfortunately it only seems to work if I access the link from a page which is one deep from the host folder. ...
0
votes
1answer
94 views

Can I use the CTools modal functionality under HTTPS adn Display Suite?

The client for a new project wants their content to display in a modal overlay. From my research so far, it seems using ctools is the way to go. My question is, some of this content will be product ...
0
votes
2answers
560 views

How to add css classes to modal forms module

My Problem I'm trying add CSS classes to help me style the modal forms created using the Modal Forms module. I have a User Login and a User Register form at the moment, but they have no form ...
1
vote
1answer
710 views

Open the AJAX Login/Register popup when clicking on post titles

The AJAX Login/Register module adds a block with a login button. Clicking on that button opens a nice popup login/register dialog. But how to make the login dialog open when clicking on post titles? ...
1
vote
0answers
115 views

Modal Register form is not working

I am using the Modal forms (with ctools) module for registration and login in my Drupal 7 site. When I click login/register, I am able to log in with an already existing username, but I am not able ...
0
votes
1answer
165 views

Photo-swipe is not loading in my website

I'm using drupal -7 with mobile_jquery(https://drupal.org/project/mobile_jquery) as theme and PhotoSwipe . The PhotoSwipe is not working in the gallery page.When we click on the thumbnail ,the image ...
0
votes
0answers
167 views

jquery modal dialog

I had someone implement the jQuery modal dialog module for my project. But strangely, one of the modal dialogs has the style as the way I wanted while the other has the default style and opens with ...
0
votes
1answer
69 views

Why doesn't the overlay background show?

I created a fancybox gallery as block using the Views module and inserted that block into the node using the Insert Block module. Everything works fine, but the overlay background doesn't show. How ...
0
votes
1answer
256 views

Fancybox gallery

I have one button in node body called 'Gallery' and I need to show fancybox with thumbnails when button is clicked. What is the simplest way to do that?
0
votes
1answer
89 views

Error messages appear in background page, not in dialog

I have a form being displayed in a jQuery modal dialog. When the form is filled out incorrectly (ie a required field left blank) the error messages appear in the background page, not in the dialog ...
0
votes
1answer
269 views

Light box gallery is not working in mobile website

I am using D7 and lightbox2 for image gallery. I'm using same in the mobile version too.But the lightbox popup is not opening in mobile browsers and showing . It will work sometimes and will never ...
0
votes
1answer
67 views

Show warning for viewing only some nodes

I am developing one website where I have one content type (News). Now, some of news content type nodes is adult and must to have age confirmation popup (just warning text, accept and decline button). ...
1
vote
3answers
669 views

How to view PDF files in a modal/overlay

I have pdf (managed) files on the server that I want users to view in a modal. This will be part of a module I'm creating. There are a couple of modules that help with this, but I haven't found a good ...
0
votes
1answer
289 views

How to open nodes in Lightbox?

Goal here is to just open my Nodes in a Lightbox. Following is what I have tried at it is not working for me, any clue would be great: In my View, I am rewriting the node title as following: <a ...
1
vote
1answer
1k views

How can I display a custom form in a popup?

I have created a form in my custom module, and I want to show it in a popup. I used the Modal Forms module, but it has some issues. How can I display a custom form in a popup?
0
votes
3answers
1k views

How to load login, register and other forms and nodes in modal window?

I am seeking a module or technique to show forms (for example login form, register form etc.) and nodes in a modal window/pop up. I found some modules that promise to do that, but none of them seems ...
-2
votes
1answer
256 views

How can I hide the content to the users who didn't like the Facebook page? [closed]

I need to do a site where the content will be inaccessible to the visitors who have not liked the Facebook page. It is necessary to display a popup with the like button the visitor should use to like ...