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
16 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
12 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
37 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
29 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
20 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
130 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
47 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
33 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
36 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'), ...
-1
votes
1answer
88 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
72 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
24 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
202 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
22 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
18 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 ...
1
vote
1answer
45 views

Cannot load ctools automodal associated menu call from another module

I have several modules that make extensive use of the Ctools Automodal modal to activate custom-driven modals. These Link references live in their own module, example_item_modals: /** * Implements ...
1
vote
1answer
80 views

Cannot start Drupal

I am getting this error from drush: Fatal error: Call to undefined function ctools_include() in /home/upgrade6/democratsabroad/drupal/sites/all/modules/contrib/message_notify/message_not ...
0
votes
0answers
24 views

Twitter Module Drupal

I wanted to have a twitter activity feed for my website. I installed the twitter module and its related dependancy modules(Ctools, panels, views etc.). I am getting the twitter feed for my account but ...
1
vote
0answers
23 views

Altering styles in ctools automodal generated automodal

So as my post history shows that I happen to like the Ctools Automodal module to carry me out of difficult Ctools logic to render a modal. It works as intended on a callback from hook_menu(), but I ...
0
votes
1answer
25 views

How to validate an AJAX form which uses CTools?

I have a form which opens in a modal CTools window. The forms submits perfectly, but when I try to use the my_form_validate() function, it never goes to that function, it always go directly to ...
0
votes
1answer
60 views

Firing a Ctools Modal on a link click

Once again, I am stuck asking questions on CTools that people have asked a million times before. I have a view that displays a list of custom-developed entities (built with ECK) and each one has a ...
1
vote
1answer
353 views

Opening a ctools modal on form submit

I have a custom profile form (part of a multi-step registration process) that requires a modal to be displayed once submitted. I am not clear on what the process is for this to happen, and the ...
0
votes
1answer
124 views

Loading a ctools modal on the home page

I have a front page that consists mostly of context rules to load various blocks, and for some users, a requirement to render a Ctools modal with a call to action. We aren't displaying much on the ...
1
vote
0answers
120 views

Ctools Modal on input change - not submitting

I am trying to load a modal popup when selecting an item in a select list. I can get the modal to launch with the new form inside but pressing save button does not do anything. Looking at the logs, ...
0
votes
0answers
17 views

Programatically revert maps and layers provided by OpenLayers

After upgrading OpenLayers from 7.x-2.x-beta1 to 7.x-2.x-dev all of the default maps and layers provided by the module are left in an overridden state. I know OpenLayers uses CTools exportables for ...
0
votes
1answer
39 views

Loading a Taxonomy Term form for a user

I have a User Profile page that loads specific taxonomy terms (associated with a user account and its form, user_profile_form) to filter specific content with. I've tried to implement these forms ...
0
votes
0answers
71 views

Ctools content type not responding to form api ajax callback

I am using a ctools content type plugins to render a custom form that will have only one submit button. The submitbutton will switch an eck entity field (boolean) from 0 to 1 and back (if pressed ...
1
vote
1answer
53 views

Just found a code.php file in ctools/plugins/argument/, is that a hack? [closed]

While duplicating a site, during files upload I notice a failed transfered file named code.php in the the folder ctools/plugins/argument/ I download and check the original module, and there isn't ...
0
votes
1answer
92 views

Modal form with CTools opened in several different pages

I have a working module which opens a modal form with CTools. However, I must use the URL example.com/mymodule/page . There the module creates the link which opens the modal window with the form. How ...
1
vote
0answers
42 views

ctools modal content size limit?

Is there a limit to the amount of content that can be placed in a ctools modal window? I looked at the ctools modal code, here on stackexchange, and did a Google search - no joy. I'm upgrading a ...
0
votes
1answer
27 views

Ctools content type- How do I access a context that is provided by a panel page?

I'm trying to add a ctools custom content type to the user profile override provided by panels. I have added a context, Logged-in user. I can access the values of this variable in my custom content ...
2
votes
1answer
51 views

Ctools content types- What do I need to do to get my content to render in the right place?

I have some panels on my site. Previously, I was using custom content panes with the PHP filter to call functions in a custom module. The custom function had lots of print() statements and I simply ...
1
vote
2answers
44 views

Ctools nested modals

I am familiar using ctools and modal forms. But now I have to implement multiple nested modal forms. I have a link "Edit contact", this opens a modal form. At the top of the form I have another link ...
0
votes
0answers
56 views

How to get field data for Panels style plugin? (ctools context?)

I think this is a Ctools context question. I'm writing my first Panels style plugin and am having trouble getting field values from nodes inside the pane. I'm basically trying to recreate the plugin ...
0
votes
0answers
17 views

Does Panels IPE (In-Place Editor) work with node_edit page?

I'm overriding node_edit page, which is available by default in Ctools. It works fine - however, I would like to use Panels IPE to modify the edit form. The problem is that IPE bar on the bottom of ...
0
votes
1answer
26 views

Alter ctools_ajax_command_redirect()

My problem is redirect after webform submission. So I have a webform node and AJAX on this submit button (hello "Webform Ajax"). How I do redirect: I'm just using hook_form_alter() and add to this ...
0
votes
0answers
92 views

Ctools rebuild form after modal-form submit

I have a form with a table that displays a number of rows (each row contains user info). On form submit I edit all the users that are displayed in the table. Above the table I render a ctools link ...
-1
votes
1answer
24 views

How do I target different types of anonymous user after a gateway page?

So there are a whole bunch of useful tools in Drupal for changing how a website looks depending on a number of factors, including which page you're on, what roles you have, whether you're logged in or ...
0
votes
1answer
55 views

Views 3.8 hook_views_default_views() stopped working

I have a default view made using the views hook hook_views_default_views(). It was working right and when I updated to Views 7.x-3.8 it stopped working. It is not shown in structure -> views, the ...
1
vote
1answer
49 views

Updates: keep panels pages, views, etc.. updated via hook_update_n?

im having a little trouble keeping a project update. I track the code via a private git repo, and for each update I follow those steps (first on stagin, then on production): update all the 3rd pars ...
0
votes
0answers
60 views

form_alter hook in a ctools content-type plugin not called

I'm writing a ctools content-type plugin to use it as a panels pane. In my plugin code I try to use the form_alter hook at render for the login_form (not for the edit forms). But the hook seems not to ...
0
votes
1answer
54 views

Missing group audience field(og) from node add form by panel

I have 2 content types, and they are Organization(group) and Contact(group content) From Contact, I add the group audience field and bundle with Organization. When I use the node/add/contact from ...
0
votes
1answer
187 views

Node Form Not submitting on ctool modal

I have a custom form, on submission of which I am calling ctools modal with a node form(content type: turn). Code for Custom Form. function _my_module_name_files_listing_form($form, ...
0
votes
2answers
226 views

AJAX error when ctools_modal_command_dismiss() is called

So I'm having a problem with dismissing a Ctools modal within a form submit's callback function. Once I have processed any submit data, I'd like to dismiss the modal without redirecting the page (easy ...
0
votes
0answers
27 views

Ctools wizard function is only sending one command “modal_dismiss” after final form, I want to send html command as well

I have a multistep form in ctools wizard and display in ctools modal. It is working flawlessly except one thing. After the wizard finishes I want to send an image uploaded by wizard back to main page, ...
0
votes
0answers
53 views

modal pop after a user click 3 times in any links on a site

I am trying to make pop a modal window after a user as click on 3 different links on a site. I am not too sure how to achieve it. I am using this JS script to track the click window.onload = ...
0
votes
0answers
23 views

How to set default permissions using ctools

I've done this before with features and have used ctools a bit for other module's defaults but can't seem to find the right hook for user permissions. This is what I'm trying to do in my code: ...
1
vote
0answers
102 views

How to load all contexts of a Panels page?

The Panels Ajax Tab module is loading panes (minipanel pane) on panel pages via Ajax: $pane = panels_mini_block_view($name); echo $pane['content']; This will get the contexts defined on the ...
0
votes
0answers
20 views

Permission problem in Ctools

I have a 3 pages created with Page Manager (part of Ctools): item/%nid redirects to item/%nid/tab1 or item/%nid/tab2 depending on content type of node, which ID is provided via argument. It has two ...
0
votes
0answers
43 views

How to create different local tab titles for each panel variant?

I have a site with different content types, displayed using local tabs defined by panels pages. The problem is that I need to have different titles per default local tab, depending on what content ...