JavaScript create modal windows/popups.

learn more… | top users | synonyms

0
votes
0answers
20 views

How do I write a Drupal 8 modal button

So I'm trying to open a modal via a button in Drupal 8 beta 11. I've patterned my code after some I found in BlockListBuilder.php in core, but I can't seem to get it to work. My routes are correct ...
-1
votes
1answer
19 views

how can i display my custom form in popup in drupal 7? [duplicate]

I create a custom form module.how can I display my custom form in pop-up in drupal 7
0
votes
1answer
28 views

Prevent “Fit to Window” setting

I have the following image and when I click on it. it will pop out into a colorbox modal, but it currently re-sizes it to fit to the window. How would I just resize it up to only the width of the ...
0
votes
0answers
16 views

Embed a Select Form Control in a Modal

I have a select form control. $form['options'] = array( '#type' => 'select', '#options' => array( 1 => t('One'), 2 => t('Two'), 3 => t('Three') ), ...
0
votes
1answer
28 views

Embed a form inside a modal

I have a modal in my form. $form['myid_print_preview_modal'] = array( '#type' => 'item', '#markup' => '<div id="myid_print_preview_modal" title="ID ...
0
votes
0answers
15 views

Decoding cyrillic %get[] parameter in Ajax form

I have a request form in a popup window. It's located on a page of single product and must send product's name. This name's delivered using a hidden input field (Drupal Webform), which takes its value ...
0
votes
0answers
18 views

How to create a meal menu in a pop-up in Drupal Commerce?

For a take away restaurant, I would like to know if there is a way (modules) to have a pop-up that allow the customer to have more items options when he adds a product to his cart. ...
0
votes
1answer
40 views

Conflict between ajax callback and jQuery UI dialog

I have a button that triggers an AJAX callback with the form api like so : $form['show_modal'] = array( '#type' => 'submit', '#value' => t('Some crazy text'), '#ajax' => array( ...
1
vote
1answer
23 views

Drupal Commerce age gate on Add to Basket?

I'm building a Drupal Commerce store for a client and some of the products are alcohol which requires me to add a popup modal with some text about age laws when they click "add to cart". How can I do ...
0
votes
0answers
41 views

How to display node in popup using modal_forms module

Using Modal Forms module I want to popup node content without header and footer. I am getting many links explaining using Lightbox2 but not with modal_forms.
2
votes
2answers
74 views

Display node add form in popup

I want to display node add form of a particular content type in a pop-up for anonymous users too. There are posts related to displaying a node content in pop-up but not about node add form. I have a ...
1
vote
1answer
34 views

How to create image gallery and integrate it to lightbox2 [closed]

I have a content type Product with a field Images. There are 4 photos. When i go to the product-node page i want to click on one of the photos (1 of 4) and open a popup/modal window where i would like ...
1
vote
1answer
80 views

show content in a modal / popup window

I'm using views in my drupal site and I want to show a popup window containing custom information (the information from the content type I guess) when I click on a view item. Something really similar ...
0
votes
1answer
73 views

How to display search block in a modal dialog

What I would like to accomplish is to display the search block in a modal dialog when the user clicks on a search button that I have created. I have created a search button block (basically an image ...
0
votes
1answer
27 views

add captch to registration modal box

I have a modal box for login and registration for my site. example.com I want to add the captcha with the registration process.I added the captcha module in my site. But the captcha only work with ...
0
votes
0answers
26 views

creating a view shopping cart with in a view my bag .view should appear in pop up

I need help in creating above functionality, a my bag view on clicking it a pop up of cart page view should appear. as I am not understanding where to start ,I have created a shopping cart page ...
-1
votes
2answers
66 views

Show cart block in pop up

I've installed Drupal Commerce module, I got show cart block in header. If I click on it takes to cart page. I need a pop up of cart page on clicking show cart.
1
vote
1answer
281 views

modal window “loading” not loading in SCALD

I'm working on a site using SCALD – and for some reason the modal media upload window does not work anymore. It's stuck with the status "loading…" but not going anywhere. I first had it running like ...
0
votes
0answers
34 views

Drupal modal forms -> entities

I am currently working on a project that uses ECK entities, instead of the normal Content types. I am working on a large fullcalendar implementation that has to show a Modal popup (when you click on ...
0
votes
2answers
46 views

Internal URL or menu callback to use node/entity content without html/page wrapping

Does anyone know, if there is any work-around or regular setup for panels or custom code known, to be able to use a url/node/%id or node menu-callback to render node/entity content delivered without ...
0
votes
1answer
57 views

Display a Quicktab content in Colorbox pop-up Drupal 6

I have a quick tab (Drupal 6) which contains three tabs. One of it has a table which is larger in size. Hence, when the third tab was clicked I need to show the third table as a Popup using Colorbox. ...
0
votes
1answer
28 views

Dim background elements when displaying submenu

I am developing a site with Drupal 7 and the requirement that I need to implement is that when a sub-menu is being displayed from the main navigation bar, the rest of the site (all the elements behind ...
0
votes
0answers
195 views

Modal form FB login fail redirects to page with Ajax response

Modal popup contains: Login form + Facebook login button. Both the login methods(Login form + Facebook button) work fine for users who's account is active. FB login button is implemented using fbauth ...
1
vote
0answers
31 views

how to get form_state in Modal (ctools)

I Want to get the comment form_state in the ctools modal to change a variable i was trying to use drupal_get_form but i cannot access to form_state ? Before submitting the comment form i want to show ...
0
votes
0answers
21 views

Login gating/restrictions module recommendations or advice

I have been running through a lot of internal pitfalls with trying to develop an internal component to do redirects based on the following logic, as dictated by requirements: For authenticated users ...
0
votes
1answer
81 views

open a modal just before submit to get an answer yes or no and then submit

I'm altering a comment form and on my page i want to show a modal to ask the user for an answer then i will submit. I tried to drupal_get_form on a ctools modal but a lot of problem on submit it will ...
0
votes
0answers
61 views

Add and edit content form in a pop up in drupal

Hi is there any modules available inorder to display the add content and edit content form in Drupal of all content type as a pop up. That is when i edit or add a content link it should display as a ...
1
vote
2answers
52 views

Ctools nested modals

I am familiar using ctools and modal forms. But now I have to implement multiple nested modal forms. I have a link "Edit contact", this opens a modal form. At the top of the form I have another link ...
0
votes
1answer
243 views

Modal Popup for Vimeo when clicking on Vimeo Thumbnail Link

I have a basic link field and in this link field I just have a vimeo/youtube link. What are some of the available modules that can give the functionality of: Render the display of the video link ...
0
votes
2answers
121 views

create node link in views header and open in popup

Is there any option to include " Node Add " link in Views header , which to be opened in popup ?
0
votes
1answer
81 views

Pop-up for view bulk operation?

Normally View Bulk Operation (VBO) will lead to separate page for asking details and performing actions. Is there any module readily available to show pop-up for views bulk operations. Searches did ...
0
votes
1answer
237 views

Drupal Pop-Up Image on page load [closed]

With simple css and javascript code i have created image pop-up which loads automatically after page load, i want to load the pop-up between two specific days (example from date and to date) please ...
0
votes
0answers
203 views

I am looking to print a simplified gmap macro builder

I am looking to print a simplified gmap macro builder in a page so users can submit maps on pages. I am having difficulties printing any of the gmap macro. Ultimately I would like to print the ...
0
votes
1answer
436 views

redirection after login with modal_forms

I have some pages in my website have links using Ctools modal_forms module, to login. And I want to redirect users after logged in using these modals to the same page that have the link to this modal ...
0
votes
1answer
316 views

Drupal popup module is not working in custom front page

Am using drupal popup-7.x-1.4 module. i want to display a paricular blocks content in popup. So i used this module. it's working gud except my custom front page(page--front.tpl.php).it's showing a ...
-1
votes
2answers
447 views

How to display node content in popup? [duplicate]

I want to display particular node content in popup. Is it possible in lightbox 2. i need your help frds.
0
votes
1answer
31 views

Can't get module configuration form into modal

I'm writing my first Drupal 7 module. I've successfully created the block's html and integrated that with the home page. I've also succeeded in creating a configuration form fo the block. However, ...
0
votes
0answers
82 views

Image pop-up using Media button on WYSIWYG editor

I want to make images that being added in the WYSIWYG editor poping-up. I am using the Media button (from the Media module 7.x-2.0-unstable7+62-dev ) I have tried with the help of the Lightbox2 and ...
0
votes
0answers
69 views

modal pop after a user click 3 times in any links on a site

I am trying to make pop a modal window after a user as click on 3 different links on a site. I am not too sure how to achieve it. I am using this JS script to track the click window.onload = ...
1
vote
0answers
45 views

Modal - Node Edit: What is the correct path? [duplicate]

I am trying to make a button for people logged in to be able to upload an image with a title. It would be great to have it open in a modal window. I have this inside my _preprocess_node() function in ...
0
votes
0answers
89 views

Open the print/email/pdf gerneration in a pop up box

I just installed contributed modules print and its working fine. Now I have a new requirement to open the print/email/pdf page in a pop up box. But I am not able to figure out to implement this ...
0
votes
3answers
112 views

D7: Modal/Dialog box

This sound like a really dumb question, but for the life of me I cannot find something that works. I want to trigger a modal/dialog box for some basic content. Its just HTML, not the login page or ...
0
votes
1answer
121 views

Pop Up login Forms for LoginToBoggan

I am using LoginToBoggan Module to unable anonymous user to register using self created password. Now in some other page I want a popup login form. I have tried using other module like modal forms, ...
0
votes
0answers
114 views

Modal form link as menu link in drupal7?

I am using Modal Form for webform as popup in drupal. I give webform link as one of menu when i using modal form i need to give a path like "/modal_forms/nojs/webform/contact-us" but it will return as ...
0
votes
1answer
159 views

How to render ctools_custom_content_type_edit_form with ctools_modal_form_wrapper()

I have a scenario where I would like to reload/re-render the ctools_custom_content_type_edit_form after closing another ctools modal. To do so, I've bound an ajax object to the .close element within ...
0
votes
0answers
172 views

Using “Panels” Page display layout in a modal pop-up window (modal with Ctools)

I am using Ctools for modal forms on a node content type, specially on node edit form; it's working perfectly, anywhere on the site. The problem is that the Panel page display layout is not applied ...
1
vote
1answer
48 views

Ask visitor if he want to view page on his language

I use Internationalization module on Drupal 7 for multi-language content and my default language is English and I have one more language. The thing I have to do is: To check if visitor is from ...
-2
votes
1answer
132 views

How to get feedback tab with popup window? [closed]

I installed the Feedback module in Drupal 7. But when I click it, it goes to contact page. How can I load the content in popup window? See this image
0
votes
1answer
41 views

Output ctools_modal_form_wrapper() with translatable items in the form

i have translation strings already for this form. if i output it with: return drupal_get_form('user_login'); then the translation works but if i render it for the modal form then the ...
0
votes
1answer
518 views

Drupal and event on bootstrap modal

I have a following problem. I have a bootstrap modal with a form which I submit using jQuery. Upon sussesful Ajax I hide the form in the modal and append a message. Now, when I close the modal and ...