The Chaos Tool Suite is a module containing a set of APIs and tools to improve the developer experience.

learn more… | top users | synonyms

1
vote
0answers
23 views

How do I override a panel pane admin title?

I am trying to provide an overview to my site's admins of what each panel pane is exactly doing by trying to provide extra information in views panes, as I have panel pages with many regions and ...
0
votes
0answers
22 views

No content being displayed on the front page [closed]

So, it started with a PHP parse errors in a few modules which took the site down. I fixed that by updating all modules with drush. The problem is that now I can't get the front page to show any ...
0
votes
1answer
11 views

Cannot enable node_view in ctools page_manager permanently

I have a strange problem. If I enable node_view in page_manager everything works as expected and the node layout is according to my settings. If I then do a menu cache clear node_view is not used ...
0
votes
0answers
21 views

Load ctool popup on every page without link

I am working in a task where I am having a link once user click on that link ctool popup works fine for me. link page callback is something like below. function mymodule_callback(){ $popup_content = ...
0
votes
1answer
12 views

Send to 403 page if all Selection Rules aren't met for all Variants

I have a couple Variants set up for my node type with Selection Rules via Page Manager. If for some reason none of the rules are met for all the variants, it renders the node using the default node ...
0
votes
0answers
17 views

CTools collapsible content and JW player issues

Im using views to display node teasers with comments and the comments and comment form are in a collapsible div using CTools with the following code in my node.tpl.pho file: <?php if ...
0
votes
1answer
22 views

Multiple Node Variants with Different Paths

I have my node content type set up using Page Manager. I have different variants for this content type that pass different arguments to my view. Is there any way to have these variants have different ...
0
votes
0answers
12 views

Make node revisions view use the node_view display

I have seen several D.O Issues about being able to take use of the revision module together with panels/page manager. I have tried all the patches on those issues and nothing seems to fix the issue. ...
0
votes
1answer
20 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) { ...
0
votes
0answers
16 views

How to restrict the user to access ctools panel page based on role?

I have created programatically ctools panel page using hook_default_page_manager_pages(). Everything is working good. How do I restrict the access to the page dynamically, for the pages created ...
0
votes
1answer
24 views

CTools modal return incorrectly return html instead of ajax commands

I am trying to create custom login form using Ctools modal window. There seems to be a problem upon submitting the correct username and password. The page callback function is supposed to return a ...
1
vote
1answer
142 views

Show a ctools modal after form submit

I have a form: //... $form['submit'] = array( '#type' => 'submit', '#value' => t('Sumbit'), ); I need when this form is validated and submitted then show a ctools modal. This is my ...
0
votes
0answers
47 views

Modal to popup on read more click

I have made a slider with content and read more link by using view. How to make Read more showing full node text in modal dialog ? Also If user has permission show Edit link for editing current ...
1
vote
1answer
210 views

How to close (ctools) modal node/add form after submit?

I wrote this module that print the node/add form for a content type (article) in a ctools modal window. It works and the new node is saved, but the modal window remains opened after submitting the ...
0
votes
0answers
22 views

Bringing Profile2 page/form in ctools modal form view

I am using drupal 7 Profile2 and Profile2 Registration Path modules. I have URL like this www.example.com/customer/register, so how can I bring this form in ctools modal view?
0
votes
1answer
32 views

Update webform without losing existing webforms

I'm using webform 7.x-3.20 version and I want to to upgrade it to 7.x-4.x, but I've 7 to 8 existing webforms whenever I update this I'm losing my previous webforms cause of changed table structure. If ...
1
vote
2answers
55 views

How to prevent closing ctools modal window with ESC?

I am using ctools modal window to edit some records with Form API. How can I prevent closing window with ESC key and the default close button?
0
votes
1answer
51 views

Error: Syntax error, unrecognized expression: <div id=“ctools-modal”>

I want to display a form in CTool modal dialog, but failing badly. When I click link to show modal form, ajax request is started: POST http://drupal.dev/my_mod/arg1/ajax/arg3 and returns: Error: ...
3
votes
2answers
95 views

Load a panels display in code

To load a Panel display from the database we can use panels_load_display($did) However, the $did value is an autoincrement value from the database. It is not present in exported Panel page displays ...
0
votes
0answers
48 views

CTools Modal AJAX Webform onchange submit problem

I want to submit form on radio button change, it works, but form is submitted twice and i got JSON error on confirmation page. I'm using this function: function surveySubmit() { ...
0
votes
0answers
45 views

Webform AJAX modal - close modal after submit

I need to close modal automatically after webform submit. I'm using webform AJAX module with ctools modal. Right now I'm using this code as confirmation message: <p>Message has been sent ...
0
votes
0answers
12 views

Can I back up and restore specific sets of entities?

One of my Drupal 7 projects has many accounts, each with their own set of data held in custom entity types. One desired feature is the ability to back up and restore each account's data independently. ...
1
vote
0answers
15 views

Template file in admin theme not looked for in admin theme

As documented here, I've created a custom filefield source that gets images from Apache Solr, and I'm using this in conjunction with the Insert module. I wanted to add some additional markup for ...
0
votes
1answer
91 views

Ajaxify ctools multistep wizard in flexiform

The 'Next' button has ctools-use-ajax without ctools-use-ajax-processed ever being added. So, upon clicking the button I get json rather than the ajax being processed. This happens in flexiform ...
0
votes
0answers
32 views

Ctools form submission json response broken by VPN

I have a ctools modal form implementation in my intranet site which works normally within the office premises. However when accessed from outside using a VPN, the submission seemed to fail without ...
1
vote
0answers
43 views

Dismiss Ctools popup on click of a button(running on ajax) inside ctools popup

I have created a ctools popup in which I have 2 buttons(add to cart and add to wishlist) which run on ajax.I have used Commerce Ajax Add to Cart module(https://www.drupal.org/project/dc_ajax_add_cart) ...
1
vote
2answers
64 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 ...
1
vote
0answers
16 views

Is there a way to create one panel page for multiple i.e 7,8 view displays

A view has 7-8 displays … all of them are pages. I want them to layout (i.e the page) when any of the 7 pages is visited the view content should come up in the left pane of a panel i.e ...
0
votes
1answer
53 views

Table not rendered using ajax_render in ctools modal window

This is a continuation from this question,where I'm wanting to display a form for searching Apache Solr and displaying the results with a pager. I've modified my approach to have the search run from ...
1
vote
0answers
40 views

Ctools 7.x-1.9 update breaking ajax entity lookup

I am having an issue with ajax entity lookup, i upgraded Ctools to the latest 7.x-1.9 and i now have an issue searching for articles in the entity reference autocomplete field, it seems the ajax ...
0
votes
1answer
75 views

How to pass argument in ctools_modal_form_wrapper?

A very strange issue come across while using ctools_modal_form_wrapper and ctools-use-modal. I have written a menu item and passed two arguments in it. $items['a/b/c/d/e/%/edit/%ctools_js'] = array( ...
0
votes
2answers
132 views

Automatically close webform after submission

I have created a Webform with some terms & condition. I have added this webform in node/upload page. When user access node/upload page webform comes as overlay on the page. When user selects all ...
0
votes
0answers
11 views

Is there any way to make panels styles fieldable?

I'm looking to be able to set a background image for a panel pane. I'm aware of Fieldable Panels Panes, and am currently using this for the solution. However, it would be Optimal if ALL style ...
1
vote
0answers
69 views

Collapsible text in Drupal 7 - tried several guides, need for dummies version

Running Drupal 7.39 and CorporateClean theme and Ctools module installed. I want to be able to have sections of collapsable text. I read the following (and some others, which I can't link due to ...
0
votes
1answer
34 views

Configuration page in Modal Forms not working

I already install Modal Forms in my localhost website and it worked perfectly, but now when I installed for my online website I can’t make any change in the configuration page, always forbidden page ...
0
votes
0answers
23 views

Include panel page title in panels breadcrumb

I am using the panels_breadcrumbs module. I can't seem to figure out how to add the Custom Page pane title in as the breadcrumb title. I tried adding Token as contexts and tried using the ...
0
votes
1answer
51 views

ctools with panels colon issue IIS

When using Panels module I have noticed that one of the ajax calls is creating an url with colon inside : For Example : dev-www.redbusbingo.com/panels/ajax/editor/select-content/panel_c %3A = : ...
1
vote
0answers
110 views

Modal login form throws AJAX HTTP error

I am working on a custom module that will allow remote authentication via an API if a user attempting to log in is not an administrator. The module first does a hook_form_alter and in that function ...
0
votes
0answers
23 views

Unable to load Ctools exportable Map map_views_map_points_page [duplicate]

I am getting this error while making new view using open layers: Unable to load C Tools exportable Map map_views_map_points_page.
1
vote
0answers
62 views

How to set (import) oembed's ctools exportable settings as defaults for the module programmatically?

Oembed provides defaults for some providers (e.g. youtube, twitter etc) out of the box. It also provides the ability to export each provider's settings through the UI. I have added a new URL pattern ...
1
vote
1answer
74 views

What is a “Variant” in Drupal?

I tried to read a bit about what is actually a Variant in Drupal (and especially in Ctools). But the 2-3 explanations I read were not clear enough for me. It was a wired experience for me since I've ...
0
votes
2answers
72 views

Ctools multistep returning user

I am trying to implement a multistep registration form where if the user drops off the first step I then email them a link several weeks later for them to continue to step-2 ...
2
votes
1answer
27 views

Is there Page bulk manager? [closed]

I tried to look for bulk page manager for Drupal 7, but I wasn't successful. More specifically, I'd like to change access settings for multiple pages in one step. Something similar to what VBO ...
1
vote
0answers
24 views

how to chnage appearance and look and feel of pop-up modal with CTools in drupal?

how to remove header in pop-up modal with CTools? resizing of pop-up modal with CTools?
2
votes
0answers
308 views

how to resize the dialog generated by “ctools-use-modal” class of ctool modal functionality?

I want to resize the popup dialog box, appears when I used ctool modal functionality. I have gone through a patch , but don't know how to apply it. I also follow one this link, but is of no worth. My ...
0
votes
1answer
79 views

How to call form function in menu callback in drupal7?

I have one menu and two functions that want to call on same menu. What I am doing is, in hook_menu page callback i am calling a function and in that function i am calling another function.Means, ...
1
vote
1answer
65 views

Displaying Webforms on Content Types in Page Manager/Panels

The Webform module allows for a webform to be attached to each Content Type of the site. I can "Enable webform functionality" on my Page and Blog Content types and don't need to use a separate ...
0
votes
1answer
35 views

how to get this functionality? views: Format options in ctool modal modify field data

In views module, when we edit view page and add fields to it, there is an option Format:unformatted-list and when we click on unformatted-list, a popup appears displaying radio buttons of grid, ...
0
votes
0answers
138 views

Submit form and display confirmation page in CTools modal

I've been all around this issue, but haven't found the right magic to make this work. I have a Drupal 7 custom form that collects information from a user, which gets validated before submitting, that ...
2
votes
5answers
436 views

Split node edit tab in several tabs with panels (or programmatically)

I have a content type with many fields, so that loading node/%node/edit is a pain ! In order to split node edit form in smaller forms (menu tabs), I used Page Manager. What I did so far Enable the ...