We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [chaos-tool-suite]

The module contains a set of APIs and tools to improve the developer experience.

Filter by
Sorted by
Tagged with
0
votes
1answer
386 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, ...
2
votes
1answer
405 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
76 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, table,...
2
votes
5answers
689 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 ...
0
votes
1answer
163 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 ...
1
vote
1answer
591 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 ...
3
votes
1answer
175 views

Page Manager on a variant of the node url

I have overriden the default /node/%node layout using panels and the page manager, now I need to add some different content when the URL is /node/%node/step2. I have added a variant, and on the ...
2
votes
1answer
121 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 ...
1
vote
0answers
124 views

How can i get Page Manager to load a new page.tpl.php file and override the current one?

I’ve created a new layout (.tpl.php) and is complete with an .info file. It contains a region I call a super_footer. I want this to load only on certain content types and I’ve been attempting to use ...
-1
votes
1answer
40 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
1k 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
2answers
880 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
528 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
1k 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
464 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
131 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 ctools_modal_command_dismiss()....
1
vote
1answer
217 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 ...
1
vote
0answers
129 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: ...
3
votes
0answers
296 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 ...
1
vote
0answers
111 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 ...
1
vote
1answer
184 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
458 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
1k 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 the ...
0
votes
1answer
971 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
129 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
1answer
718 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
1answer
64 views

Using a vocabulary term as a panel wildcard

I want to create a frontpage Panel Page that shows Views according to a Vocabulary Term Name in the url, like so: frontpage/persons frontpage/companies frontpage/institutions That way, I've ...
1
vote
4answers
1k views

How can I print messages in a Panel layout template?

Printing the drupal messages in page.tpl.php is easy: <?php print render($messages); ?> How can I go about doing a similar thing in my Panel layouts? Notes: I realise there is 'status ...
0
votes
1answer
221 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 ...
2
votes
2answers
3k 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 directory. ...
1
vote
1answer
224 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 ...
1
vote
2answers
150 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
365 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 ify....
1
vote
0answers
81 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
382 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
812 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 ...
2
votes
1answer
4k 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
1k 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 ...
2
votes
0answers
262 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
1answer
280 views

Contextual view -> entity reference target ID

I have the following situation: I have 2 content types (session and preformance) Performance has an entity reference to session I want to create a view that shows me all performances for the ...
1
vote
1answer
124 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
1answer
488 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
0answers
775 views

Invalid form POST data error on ctools modal

I am using Node Comment Block and Ajax Comments to put comments in block and ajaxify them, and comment system is working fine, on content page I have a link which opens node edit form using ctools ...
1
vote
1answer
329 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
74 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
150 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
179 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
152 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
1answer
291 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
1answer
132 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 ...