Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k 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 out?"...
Garrett Albright's user avatar
3 votes
1 answer
1k views

Any better popup modal framework in drupal

I use the Chaos tool suite module for modal popup in Drupal 7; I am unable to open popup from within a popup using ctools. Can it be done using ctools, or is there any better popup modal module in ...
Firdous's user avatar
  • 736
2 votes
1 answer
725 views

Why is my form_state being reset after submission?

I have a menu item with page callback: function my_menu() { $items = array(); $items['my/action/%ctools_js'] = array( 'title' => 'do something', 'page callback' => 'my_action', '...
selfsimilar's user avatar
1 vote
2 answers
588 views

Ajax not output to Ctools modal when using pager

So in my continuing quest to display a form with Solr search results in a Ctools modal window and use a pager, I've managed to get everything to display fine after the initial search, but when I use ...
wonder95's user avatar
  • 1,219
1 vote
1 answer
941 views

How To Open The Comment Form In Modal Form

I want To Provide The Link "Add Reviews" For Content Type Example "Doctor". Then How I can Use the Comment Functionality For That. So that When the user Click on the Add reviews Link A modal Form ...
Gaurav Varshney's user avatar
0 votes
2 answers
146 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 ...
nilsun's user avatar
  • 577
0 votes
1 answer
1k 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 ...
Zafar Shah Faizi's user avatar
0 votes
1 answer
147 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 ...
vintorg's user avatar
  • 1,993
0 votes
2 answers
704 views

Ctools: stay always within modal window

When I load some pages using Ctools modal window, those pages have many another links, submit buttons etc, so when I follow those links, I loose the window. Drupal Overlay has no problems with it. Is ...
volocuga's user avatar
  • 730
0 votes
1 answer
221 views

ajax pager working depends on if js file is loaded in module .info file

I'm using the code I've outlined in my blog post for a custom image search, and I'm having a problem with the pager, but only on one site. The first page of results renders just fine, but when I try ...
wonder95's user avatar
  • 1,219
0 votes
1 answer
116 views

How to interruput ajax request but keep for next possible uses?

I want to add simple confirmation box for ajax delete action created via: ctools_ajax_text_button JS: (function ($) { Drupal.behaviors.mymod = { attach: function (context, settings) { ...
Codium's user avatar
  • 4,953
0 votes
1 answer
460 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 ...
Jason's user avatar
  • 383
0 votes
1 answer
2k views

How to open modal form on page load [duplicate]

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 ...
Zafar Shah Faizi's user avatar
0 votes
1 answer
101 views

The simplest way of get an emerging modal window

I want to open a modal emerging window, with some HTML on it and a close button. It should open when the user visits the page. What is the simplest way of doing that and what modules should I use? I ...
Cesar's user avatar
  • 942