Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [modal-dialogs]

Use it for questions about modal popup dialogs, including the overlay implemented in the Drupal 7 Overlay module.

0
votes
0answers
14 views

Open a modal form on user login submit

I have user login page, when user login in the site successfully, user should be redirected to the their edit profile page in modal. Following code do the redirection to the edit profile page, but i ...
1
vote
1answer
31 views

How do I use Bootstrap theme's modal.jquery.ui.bridge's mapped events?

I am using a Bootstrap subtheme, and would like to trigger an event when a modal is closed. Reviewing the main theme's modal.jquery.ui.bridge.js file, I see that the bridge is intending to map jQuery ...
0
votes
1answer
17 views

Modal dialog doesn't work

I want to display ctools modal. I tried the following code. /** * Implements hook_menu(). */ function my_module_menu() { $items['my_module/%ctools_js/test-page'] = array( 'title' => 'Demo ...
0
votes
0answers
24 views

Modal does not handle errors on login

I have used 'use-ajax' class to render login form in a modal. I want to handle validation errors on same modal without closing it. On successful login it is redirecting correctly, but when an error ...
0
votes
1answer
43 views

How to open a node edit form in an overlay (modal window) in Drupal 8

I have a view with nodes of type 'tasks'. I want to easily view and edit these tasks by using a minimized overlay. When I click on a task title in the view, it needs to open in an overlay. In D7 this ...
0
votes
1answer
34 views

How do I trigger a modal from a template that points to a controller returning an AJAX response

I am trying to trigger a modal from a twig. The path of the modal is a controller that returns an AJAX response as below: Routing code usgbc_myaccount.get_badges_evidence_controller: path: '/account/...
0
votes
0answers
22 views

How to open modal on form button click with data from callback?

I have a form button with ajax callback: 'button_ajax' => array( '#type' => 'button', '#value' => t('Add short name'), '#attributes' => [ 'class' ...
0
votes
1answer
86 views

How do you create a link to a modal dialog?

The following code does not work: <div class="topics"><a class="use-ajax" data-dialog-type="modal" href="/topics-listing">All Topics</a></div> Drupal 8.6.5. Bootstrap ...
0
votes
1answer
435 views

How to display a form in modal dialog on page load?

This is on Drupal 8.6, PHP 7.2, Theme is based on Bootstrap. The scenario is, I want to display a dialog box with a subscription form in the home page. The dialog box will be loaded automatically ...
0
votes
0answers
38 views

Update element form when modal closed

I have form with a link (it open modal): $form['link'] = [ '#type' => 'link', '#title' => t('Title'), '#url' => Url::fromRoute('example_module.event_form'), '#attributes' => [ ...
0
votes
1answer
125 views

Modal Form Submission

I have a modal form that I added to my module and patterned it after this article. I have used it before with no issues, I was able to use the method to show the form and then save the data. Now ...
1
vote
0answers
52 views

Open Paragraphs-item into an entityform

I have a profile page with many paragraph sections. I am trying to open the input form for every paragraph separately into a modal form. I don't want to manually build a form for each paragraph. The ...
2
votes
0answers
206 views

Why does my chart created with Easychart not display a chart if number of points are more than 1000?

I installed Easychart module 7.x-3.7 in my Drupal 7.51 site. I'm using Highcharts 4.2.7 in libraries 7.x-2.3. In the example contenttype easychart_ex, I tried uploading a data.csv file with number ...
0
votes
0answers
328 views

How to open video from a video link in an overlay on the same page?

How to open a video from a video link in an overlay on the same page? For example, If you go to google news you would have seen the video attached on the link, open as an OVERLAY, and play on the same ...
0
votes
1answer
277 views

Administration page doesn't show pop-up (overlay) windows

When I try to place new block by clicking "Place block" button or when I click "Configure" on the block I see no pop-up window as I see in tutorial videos, like here: https://www.youtube.com/watch?v=...
0
votes
1answer
3k views

How to display a Leaflet map in modal window?

I produce geospatial data in a content type with addressfield and geofield. I can display this data in a Leaflet map as field without any problem. But I have to use here a modal, therefore I render ...
1
vote
0answers
13 views

Get the path to current page which has an overlay [duplicate]

I have a page on which there is an overlay. I'm able to get the overlay's path using current_path(). How can I get the page's path on which the overlay is loaded. Any ideas ? Thanks
1
vote
0answers
29 views

Node Update - Overlay

I have a problem on saving a specific node. When I try to save it the overlay doesn't disappear, but the node is correctly saved and updated. If I change node title everything works good. I attach an ...
0
votes
1answer
212 views

Right side overlay panel Solution

quickie, I want to create a right-hand side sliding overlay panel for my drupal site. I have been googling and testing solutions for hours. The exact effect that I want can be found here. The ...
3
votes
1answer
135 views

Is there any way to cancel Panels' overlay edit windows?

I don't want to edit Panel panes via overlay edit-windows and therefore I tried to disable the core "Overlay" module at admin/modules but it seems to effect everything except the overlay of the Panels ...
0
votes
1answer
176 views

How do you go to an overlay view within Drupal using drupal_goto?

I want to redirect to a page with an overlay within code. I have tried the following, which is the path in the URL. drupal_goto('#overlay=admin/vendor/auth-stripe'); The path I want in overlay is ...
0
votes
1answer
1k views

Internet Explorer 11 Overlay does not close

I am experiencing an issue where the overlay wont close when saving a piece of content. This only happens on Internet Explorer 11. I've tested it on Chrome Firefox and IE 10 and it is working fine. ...
1
vote
1answer
97 views

New server runs with https

I have a Drupal site that I am currently developing on a local environment. Recently I uploaded my site to a "live" environment and everything seems to load fine except for all admin functionality. My ...
1
vote
0answers
22 views

Linking to internal pages from the overlay

I have set up a dashboard to work as a main hub for all things related to my current site. I have quick links to internal pages on my site. I would like to know how I can link to those pages from the ...
0
votes
1answer
468 views

How to display an overlay image in modal window (Colorbox) upon hover

I have a series of images set up to display in modal lightbox-type windows – specifically, using the Colorbox module. The goal is for each image to be paired with a companion graphic overlay which is ...
0
votes
1answer
225 views

How to Display a pdf, rft, doc, txt on a overlay?

I collect user resumes by using a file field. That field is been display it on view and when you click on it it would download the resume file (either pdf, rft, doc, txt). I would like to open that ...
2
votes
1answer
2k views

How to view blocks with Text Overlay on hover?

I'm working on a Drupal 7 site and I want to achieve similar thing (view blocks with Text Overlay on hover) shown here. http://ibakatv.com/ under the following blocks (sub sections): Basically I would ...
-2
votes
1answer
109 views

why does the overlaying content in the admin mode not show up anymore? [closed]

Okay, my Drupal admin interface used to work just fine until I introduced some jQuery and CSS changes this morning for the mobile adaptive interface. Now, When I'm in admin mode and for example click ...
1
vote
1answer
539 views

User profile image update from a popup window

Is there a way to make the user profile image updated using overlay window from different page other than /user/edit
2
votes
1answer
363 views

Why does “Cancel People Account” not work?

I have Drupal 7 with Devel installed running over PHP internal server and MySQL. All user operations work correctly except Admin>People>Cancel Account operation. This leads to the overlay Add User ...
1
vote
0answers
311 views

Node edit form in overlay for selected content types

I am using Drupal's core Overlay module along with Overlay Paths to display certain forms in overlay pop up. I have three content types and for one content type I want the node edit form to appear in ...
0
votes
1answer
326 views

show text on logo hover in over

I've been testing the various overlay modules trying to find a simple way to implement a very minimalist designed text I want to display when hovering over my logo img at http://stefanbjorklund.info/. ...
2
votes
0answers
561 views

How to close overlay on background click

Please help me to make overlay closed on background click. I am trying with following code but it is not working: jQuery('.overlay-modal-background').live('click', function(e) { Drupal.overlay....
1
vote
1answer
2k views

Drupal overlay is not working for content links

I have installed my own custom theme in Drupal 7.29. Overlay is not working for my content links such as http://localhost/node/add#overlay-context=. http://localhost/node/add http://localhost/node/...
1
vote
1answer
396 views

Drupal 7 - div popup inside the overlay (node/123/edit)

I'm trying to display a pop up dialog (using a hidden block) inside the overlay when editing a node. When i click to edit a node, the overlay appears with all the custom fields of a given content ...
0
votes
1answer
528 views

Is it possible to show only node contents in shadowbox pages?

I'm looking for a method to display content (nodes) in a shadowbox overlay without any blocks or menus around it. even if the user is logged in. Has someone an Idea how to do this are there even ...
0
votes
2answers
1k views

How to use mmenu without breaking core Overlay

How can I use mmenu jquery library without breaking core Overlay. Overlay works, but when I do a page refresh (F5) the overlay is blank. When I prevent the mmenu library from loading it works again. ...
0
votes
1answer
190 views

Overlay module does not work [closed]

I updated my Drupal, but now the overlay module does not worki and everything shows on the center of page.
0
votes
0answers
47 views

Add CSS file on delete specific node

How can I add a css file to the specific page where you delete a node of type = ... . I know you can add css files to specific pages like this: function hook_preprocess_page(&$vars) { $path = ...
1
vote
1answer
208 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 ...
0
votes
0answers
63 views

Alter create content form when logged in as admin

Can I alter the form where you add content (logged in as administrator, so in the overlay)? I know how I can alter the form when logged in as a user like this: function ...
0
votes
1answer
517 views

How to trigger a popup window/overlay in my module?

I am stuck in my project. I am working on a module for account management page. When the user update their billing address, a service call will be triggered to send request to a third party API to get ...
1
vote
0answers
317 views

shadowbox + content page showing full content in other language when not logged in

I have a dual language site (English and Arabic). I am using shadowbox + content page modules to display node content (without header, footer,menu sidebars etc) in an overlay. Everything works like a ...
1
vote
1answer
42 views

Core overlay on path defined in views

Anyone know how to render a path defined in a view in the core overlay. hook_admin_paths_alter() does not work in that instance. I can only think that it has to do with the execution pipeline. ...
2
votes
0answers
80 views

Open Drupal overlay using javascript

Is there any way to open the core overlay window with a Custom URL using JavaScript?
0
votes
1answer
993 views

How to open the view and edit page inside the colorbox?

I am using an full calendar with event as a node. I have disabled the overlay module. In the full calendar settings->colorbox options, I have enabled 'open events in a colorbox' Now when I click on ...
0
votes
2answers
893 views

Force page open in overlay

I want to force admin pages open only and only in overlay. As you know if a link with an admin path is clicked it opens in overlay (if enabled). But if you write the URL to the browser, or use some ...
7
votes
3answers
9k views

displaying a webform in an overlay

I want the user defined webform to be popped up in an overlay when a button is clicked. I am using colorbox and colorbox-node modules. I am able to display the whole node. But I am not understanding ...
2
votes
2answers
544 views

how to display overlay width and height

hi i'm using overlay paths module with overlay module. i have 2 questions how to set an overlay width , i tried as mynode/*|200px but it doesn't works. is it possible to view a page in a overlay ...
1
vote
1answer
59 views

Has anyone worked on a built-in CLI terminal [w/ drush]?

What would make my experience with clients/end-users easier is if there was a self-contained GUI-like terminal that would be exclusive to their drupal 7 subsite in a multi-site configuration. This ...