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

learn more… | top users | synonyms

0
votes
0answers
8 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
25 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
8 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 ...
0
votes
0answers
47 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
32 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
22 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 = : ...
0
votes
0answers
51 views

Drupal 7 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
17 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
31 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 ...
0
votes
1answer
43 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
61 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
18 views

Is there Page (from Ctools Page Manager) bulk manager?

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
17 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?
1
vote
0answers
84 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
44 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
23 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
20 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
62 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 ...
0
votes
0answers
26 views

Ctools session variable and varnish

I have enabled Varnish caching in my webserver. But when I load my pages on web browser, the pages are not showing from varnish (age is always 0 and one value in X-Varnish header). After debugging ...
0
votes
1answer
25 views

Dependent selects in Ctools modal

I am experiencing a rather odd problem in Drupal 7. I have a form in Ctools modal. It should contain 2 dependent select boxes (among other fields). I've done this dozen times on regular forms, but i ...
0
votes
1answer
56 views

Node Edit Form in CTools modal

I added node ADD form in ctools modal window and ctools autosubmit functionality . So far so good, but my goal is to return node EDIT form when autosubmit triggered. Now modal callback function looks ...
0
votes
0answers
23 views

How to keep the same vertical tab open on AJAX call?

We're using vertical tabs on a configuration form for a ctools content type inside Panels. Inside most of these vertical tabs, there are "Add more" buttons, which use AJAX to add another item to the ...
0
votes
0answers
36 views

Show Geofield map after ajax call

I'm trying to display a Google maps within an CTOOLS modal. When I try to load the page without JS (and ajax), everything works fine, google maps api is loaded and the map is displayed. When I try to ...
0
votes
1answer
24 views

update causing pagination to fail on comments in panel page template

I recently was alerted to an issue on a website I'm in charge of in which the correct comments were not being shown. I dug into the issue and noticed that it was actually an issue with pagination of ...
0
votes
1answer
95 views

Define a Panels visibility rule programatically

I'm trying to define a Panels visibility rule (access plugin) programmatically but I'm running into a problem. My code is below. This code works as a Selection Rule (on the Access tab), but when I ...
0
votes
1answer
49 views

Ctools modal_form not working with webforms

i have been trying all morning to get my webform to open up within ctools modal_forms popup window. i’ve tried everything, but nothing has worked so far. the module is working no problem. this form ...
0
votes
1answer
57 views

How and when are commerce licenses created, and when does the state change to “active”?

I'm working on a module that attempts to tie commerce_license in with the ACL (Access Control Lists) module. I am attempting to sell access to an individual node. I have a product type, product, and ...
0
votes
1answer
104 views

How to delete Panel variant programmatically

I have a "node_view" panel pane, with a few variants. Say a variant called node_view_panel_context_9, and I would like to delete this variant programmatically using code (from a hook_update_N hook to ...
0
votes
1answer
109 views

Entity form in ctools modal popup, whilst passing in values from current node

I need to open an entityform in a modal popup. I have got this working using 'Modal operations'‎ and 'Modal forms' modules following this guide: http://julian.pustkuchen.com/en/comment/reply/599. My ...
1
vote
1answer
42 views

Status message prompted twice

I am opening my registration form in ctools modal popup. I have applied custom module to get that popup. Once user submit any form ajax window will be dismiss using ...
0
votes
1answer
49 views

Drupal 7 Views Multiple Jump Menus in single page not working

I have two Jump Menu block (views driven) into single page. The first Jump Menu block is working fine - Drop Down Content type - Using Ajax While on Second Jump Menu showing an error of "An Illegal ...
0
votes
0answers
19 views

message get printed twice while using theme('status_messages')

I am using ctools-modal popup. When user will submit it successfully, modal will be closed and status message will be appeared on the screen. but the message get printed twice instead of single ...
1
vote
0answers
49 views

Openlayers PDO PDOException: Column not found: 1054 Unknown column 'identifier'

I installed openlayers 3.X and used it a little bit. Then I uninstalled openlayers 3.x and installed openlayers 2.x. Now when I click on openlayers > maps I get the following error. PDOException: ...
1
vote
0answers
69 views

How can I return data from ctools modal to parent form

Let's say I have a Drupal form with a "Open popup" button and a text field. If user clicks on the button, I'd like to open ctools modal popup with two buttons (#3 and #4). Clicking on any button in ...
0
votes
0answers
36 views

Error 500 on /admin/user/permissions

For some reason, ctools/includes/plugins.inc is requiring an .inc file that doesn’t exist (and doesn’t need to exist in this custom module, as far as I know), and on /admin/user/permissions, that’s ...
0
votes
0answers
37 views

Ctools content type with ajax enabled form

I am trying to accomplish the following: I have a ctools content type that renders a table (theme_table). The contents of the content type plugin consist of a variety of database records about ...
0
votes
1answer
59 views

Jquery Update IE8 problem

When viewing my website in IE8 (yes I know) I have a JS error coming from jQuery Update module: Unable to get property 'prototype' of undefined or null reference The function it's referring to is: ...
0
votes
1answer
70 views

How to integrate webform into multi form wizard into drupal 7

I am trying to integrate webform into multiform wizard in drupal 7. but its not working, i dont have any idea how to integer it. if it is not possible to integrate awebform into multiform wizard then ...
0
votes
1answer
41 views

How to redirect into a specific page variant

I installed panels, page manager, ctools and page manager redirect. I made a (panel) page say foo1 - admin/structure/pages/add with variant type Panel. In this I put 5 variants named foo1variant1, ...
1
vote
1answer
511 views

Fatal error wheen running update.php

Kindly assist me in solving this error. It appears once I try to run update.php Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement ...
0
votes
1answer
181 views

Drupal 7 not able to run cron after views/panels update

After an update of several modules to their latest versions (views, panels, ctools) it seems Drupal can no longer run cron, whether automatically or manual. It gives the error: "Cron run failed." I ...
0
votes
2answers
59 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 ...
0
votes
0answers
95 views

Ctools modal with #ajax fields causes Fatal error: Call to undefined function ctools_plugin_get_function

I'm creating an access plugin for Ctools so it can be used on a page manager page for the access rule. I currently have the following code. $plugin = array( 'title' => t('Listing count'), ...
0
votes
1answer
168 views

A responsive thumbnail grid in Drupal 7 node

How to create a responsive thumbnail grid in Drupal node? I need simple thumbnail grid with description under the pictures, without expanding image. Something like this example. All thumbnail ...
0
votes
0answers
126 views

Can't replace page content on node from ctools modal

I have a custom field formatter on an Event node that displays data from a multifield in a simple HTML table (the multifield has a user entity reference field and a text field that contains a number ...
0
votes
1answer
46 views

Is it possible to add permissions to a Ctools content type plugin?

Is it possible to add permissions to a Ctools content type plugin, similar to a node entity? I want to be able to check if a user has permission to add a certain content pane to a panels page through ...
0
votes
2answers
687 views

CTools CSS cache error

While viewing my Status report, I came across this error under the CTools CSS Cache header: The CTools CSS cache directory, ctools/css could not be created due to a misconfigured files ...
1
vote
0answers
35 views

how to get form_state in Modal (ctools)

I Want to get the comment form_state in the ctools modal to change a variable i was trying to use drupal_get_form but i cannot access to form_state ? Before submitting the comment form i want to show ...
0
votes
0answers
25 views

When is ctools plugin callback called?

I'm following this http://drupal.stackexchange.com/a/58662/4958 and this post What are Ctools plugin (content type, access, etc), and how does one create them? (and other ctool plugin tutorials) to ...
0
votes
1answer
92 views

open a modal just before submit to get an answer yes or no and then submit

I'm altering a comment form and on my page i want to show a modal to ask the user for an answer then i will submit. I tried to drupal_get_form on a ctools modal but a lot of problem on submit it will ...