Questions tagged [modal-dialogs]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
149 views

Open ajax dialog with JavaScript

By adding use-ajax to a link we can open a modal using the Drupal ajax library as per the docs. E.g. <a class="use-ajax" data-dialog-options="{&quot;width&quot;:400}&...
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 ...
0
votes
2answers
2k views

Get context of overlay (get parent page information)

Is it possible to get the context, like the full URL, or the containing page path, title, etc., while inside an overlay page? For example, I have a form pop up inside an overlay, and I want to, ...
5
votes
2answers
13k views

How to display a node in overlay popup effect?

I have a content type 'students' with fields name, description and a photo. I have created a view(Block) to display only the images of the students. When the teacher/user clicks the photo of the ...
5
votes
5answers
7k views

How to manually use Drupal 7's admin Overlay?

I am thinking of using Drupal's built-in admin overlay jQuery script to overlay my own contents. Is it possible?
1
vote
1answer
110 views

Custom form calls different form in modal, submit/ajax callback of second form not called

I created 2 forms: dms_gift_voucher/src/Form/GiftVoucherForm.php ... /** * {@inheritdoc} */ public function buildForm(array $form, FormStateInterface $form_state) { .... $...
1
vote
1answer
3k views

How do you use the Drupal 7 overlay on the node/edit screens for your popups when it's already being used?

I'm writing a module that adds a button to node/edit forms. This button needs to popup a DIV/IFRAME in a light box. I notice that Drupal 7 uses the new Overlay module for administrative and node/edit ...
0
votes
1answer
131 views

Creating ajax modal from event

Here's the deal. I want to create a modal popup when an add to cart event is triggered. I've got the event working just fine but can't seem to get the ajax to work properly. What I'm working off of ...
0
votes
2answers
703 views

how do I change the number of nodes that the admin layout shows?

The drupal 7 admin overlay for nodes seems to show 50 by default. How do I a raise or change that number? I've googled for this information, but apparently I'm not guessing the right keywords, ...
-2
votes
2answers
784 views

File browser tab displaying in admin overlay

I've got File browser tab displaying in the admin overlay for all authenticated users. WHere is this setting coming from?