Tagged Questions

JavaScript create modal windows/popups.

learn more… | top users | synonyms

0
votes
1answer
19 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
1answer
29 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
28 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
28 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
126 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
30 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 ...
-1
votes
1answer
62 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 ...
-2
votes
2answers
44 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
0answers
24 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
28 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
36 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
25 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
34 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
43 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
45 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
25 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
45 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
24 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
52 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
21 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
315 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
72 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
181 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
34 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
70 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
16 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
12 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
422 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
52 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
94 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
179 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
196 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
131 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
47 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
183 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
311 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
146 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
222 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 ...
1
vote
1answer
260 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
117 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
295 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
37 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
48 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
325 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
138 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
39 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
163 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
2k 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
99 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
69 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. ...