JavaScript create modal windows/popups.

learn more… | top users | synonyms

0
votes
1answer
8 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
66 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 ...
1
vote
1answer
37 views

Add taxonomy term in popup

I have a select list with some options. But now I also want an option Other. And when you select the Other option there has to open a pop-up screen with the add term to vocabulary form in it. The term ...
0
votes
1answer
38 views

How to put “Advanced form block” in a twitter bootstrap modal?

I want to add an Advanced Form Block into a modal. So far I've been partially successful, the block is added to the modal but the form is outside the modal markup. The area marked in red is the ...
0
votes
1answer
28 views

Open filters in pop-up

I have a search field in my view and also some other filters like filtering between 2 dates or filtering between 2 prices. Now I have something like this: When I click on Uitgebreid zoeken ... the ...
2
votes
1answer
60 views

How do I pass the nid of the current node to the first step multistep modal form?

I am using the ctools plumbing to create a nodal form. This is what the relevant part of my code now looks like: /** * Implements hook_entity_view_alter(). */ function ...
0
votes
1answer
13 views

How do I include a class in a link inserted in an entitiy's link area?

I want to insert a link to a ctools modal popup with a custom style (class) into the link area at the bottom of an entity (e.g. a node). I do this using hook_entity_view_alter. This is how the ...
0
votes
0answers
9 views

Rss feed in popups

Can I display rss feed in a popup so when user select a feed it doesn't navigate away from my site or page but display the feed in a popup window without leaving my site. I am displaying feeds using ...
0
votes
1answer
163 views

Problems rendering drupal 7 user registration form with ajax in BootStrap 3 Modal

I have a subtheme based on bootstrap 3 and am trying to load user registration form(user_register_form) on front--page.tpl.php, I am adding #ajax to the submit button using form_alter ...
0
votes
1answer
40 views

CTools modal with webform unable to close

I'm using the CTools modal with a webform, the form comes in via ajax. When a user is logged in, all works normally. If an anonymous user clicks on the link for the modal, I'm seeing the following ...
0
votes
1answer
53 views

Call to undefined function ctools_ajax_text_button()

What I need is a link to click and open a form in a modal. Call to undefined function ctools_ajax_text_button() in ctools\includes\modal.inc on line 184 This is how I'm calling the function in ...
0
votes
1answer
103 views

Entity Reference View Widget Ajax Modal Error

I am using the Entity Reference View widget. But having some issues with it. The widget is showing up with a Add Item button on the node creation form, however when i click on that Add Item button it ...
0
votes
1answer
96 views

Targeting text field on node edit form from ctools modal

I have a multivalue image field, and using FileField Sources, I've added a link that displays a ctools modal window that allows a user to search Apache Solr for images. The results are displayed in a ...
0
votes
0answers
82 views

Popup map block

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
36 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
0answers
143 views

Show access denied page as a modal form

How do I show login redirect page as a modal form or dialog popup? I'd like to keep my site consistent since I'm using Modal Forms for login and register pages. I'm not trying to display a popup ...
0
votes
1answer
135 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
115 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
198 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
118 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
71 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
184 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
33 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
36 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
288 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
101 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
37 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
1answer
128 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 ...
1
vote
1answer
1k 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
74 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
62 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
248 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 ...
1
vote
0answers
625 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
32 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 ...
1
vote
1answer
221 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
90 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
211 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
211 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
418 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
301 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 ...
2
votes
1answer
581 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
189 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
261 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
211 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
251 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
105 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 ...
1
vote
3answers
700 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
927 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? ...