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
1
vote
0answers
925 views

Ctools Form Wizard Dynamic Fields Rebuilding

I just started rebuilding our subscription form as a Ctools Wizard Form which is great for storing values, and easy to use. Here is the code for building the form and saving the objects in ctools ...
2
votes
1answer
1k views

How to pass form input to ctools modal

I have a regular Drupal form that is not in a modal. When the user submits the form, a ctools modal popup opens (as per http://drupal.org/node/1482968). My question is, what is the best method for ...
2
votes
2answers
2k views

I can't access the modules page

I have installed a few modules for the site; one of them is causing an error, and I can't access the modules page. The error I see is the following one: Fatal error: Call to undefined function ...
1
vote
1answer
393 views

Fill Blocks from Ctools Page Manager

I am using Panels 3 and Ctools to structure my pages and pass arguments both via context as well as inputs on pane settings (fixed text as well as keyword substitutions). The "input on pane settings" ...
3
votes
2answers
5k views

Add close button in ctools model dialog

I am using ctools modal dialog/popup window to display some records. The default close button is working fine. How can I add a custom close button? Thanks
0
votes
1answer
875 views

call to undefined fucntion error

Call to undefined function modalframe_close_dialog() in I am using Drupal 7 function close_model_dialog($form, &$form_state) { ctools_include('ajax'); ctools_include('modal'); ...
1
vote
2answers
4k views

How to export a view to module file with CTool Bulk Export module?

I am trying to export some views to module file. It could be done by Views Bulk Export module, but it looks like that Views Bulk Export no longer exists for Views 3?? It (views_export.module) left a ...
0
votes
2answers
700 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 ...
1
vote
2answers
529 views

CTools - How to limit the result of ctools_export_load_object()?

How can I limit the result of ctools_export_load_object? Imagine I have something like this: $result = ctools_export_load_object('mytable', 'conditions', array('date' => '1337020900')); Also, ...
3
votes
2answers
2k views

How to use $contexts in Page Manager

Im trying to make a selection rule for variants in Page manger and it includes some data comparison so it has to be in php. My field data is inside the context, so the $contexts variable can be used, ...
2
votes
0answers
85 views

VotingAPI and Browser Fingerprinting

I need better methods of ruling out cheaters in anonymous voting contests. I'm using VotingAPI + vote_up_down, and those use ctools in some fashion for ajax. I'm looking for any suggestions that ...
6
votes
2answers
14k views

How to load a node edit form using Ctools module in Drupal 7

I am trying to load a node edit form into a modal frame using Ctools. The following is the function I am using. So far the $op = 'view' part is working fine, but I cannot get the node edit form to ...
0
votes
1answer
702 views

Override a node page using page manager

I know it is possible to override node pages using page manager, then use panels to make new layout by selecting a variant type, and creating a new variant. Is it possible not to use the Panels ...
2
votes
1answer
277 views

Validation error every time on save comment form

Every time I try to leave comment on a content of a certain type I get this error: Validation error, please try again. If this error persists, please contact the site administrator. Refreshing and ...
1
vote
0answers
747 views

How do you make a ctools modal resizable so scroll bars appear when the content overflows?

I'm using Color Box and CTools modules to create a modal with some content. When the window is extremely short the modal can't be big enough to accommodate the contents, and they are cut off. I would ...
3
votes
3answers
4k views

Panel Pages and Taxonomy Term Arguments

I am working on a new Drupal 7 site that is making heavy use of Panels to build pages. I have a page where a view will be added to a content pane. For various reasons, the view cannot be its own ...
0
votes
1answer
124 views

What are some drawbacks/benefits of using ctools?

What is the purpose of ctools? Are there any drawbacks in using ctools for one's programming needs? Also, what are some benefits to using ctools? From the project page it seems to just be a large ...
1
vote
1answer
1k views

Does Page Manager redirect work on alias paths?

I am attempting to do a simple custom page redirect using page manager following the example from NodeOne.se videos on Page Manager. While the video works, my attempt does not and I can't see the ...
1
vote
1answer
321 views

ahah_helper or ctools for ahah in Drupal 6?

The excellent ahah_helper module (http://drupal.org/project/ahah_helper) improves the core ahah functionality to the point where it works quite nicely. Ctools (http://drupal.org/project/ctools), ...
2
votes
1answer
5k views

Fatal error: Call to undefined function ctools_include() While implementing Drupal 6 Multistep Form Using Chaos Tools

I would like to implement a multi-step user registration form. After a long time googling, I found Intro to Drupal 6 Multistep Form Domination Using Chaos Tools. While I was trying to implement the ...
0
votes
0answers
571 views

Linking Page manager & views using taxonomy terms

Here is what I have done: I created a taxonomy term called "section" with several terms 'section 1, section 2, etc...'. I modified the standard 'Article' type to include a field using a taxonomy term ...
0
votes
1answer
761 views

How to use multiple submit within a CTools Modal

I'm using a CTools modal to add a holiday. The topside of that form in the modal displays the already defined holidays with an "X" that will allow you to delete a holiday. I have created a submit ...
1
vote
2answers
508 views

add unpublished content to pane

As the maintainers of panels are not really reacting, my questions here: I am creating panel-nodes which should be filled with existing content. I need to have a preview functionality, so the user ...
0
votes
1answer
582 views

Page manager selection rules for a variant for the front page

I'm trying to make a Ctools page variant for the front page but I'm not sure of the of the selection rules I need to use to make it apply to the front page. I've tried making it apply to everything ...
3
votes
1answer
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 ...
2
votes
0answers
569 views

how to use ctools Wizard (custom modal) to show my custom form?

I look at the ctools ajax demo. there I look at the form wzards. They are so nicely displayed in popup window. I want the similar functionality for my comment form. So how can I use this functionality ...
2
votes
1answer
2k views

Drupal File Uploads

I am implementing a custom form with file uploads and having trouble getting the form to post the files. Here is my form code for the input: for ($x = 1; $x <= $photo_count; $x++) { $form['...
0
votes
1answer
519 views

CTools reverting CSS on Cache Clearing with Panels Everywhere Enabled

I am using D7 with Panels and Panels Everywhere enabled and using the Versatile Theme. I have changed the default versatile.css file to have the page-content div be 960px instead of 1020px. All of ...
0
votes
1answer
882 views

Drush, Views and Page Manager

I've got several custom modules I have written and they make liberal use of Views, Panels and the CTools page manager. I've exported the views, panels and page variants into the module code, and am ...
0
votes
1answer
2k views

Ctools include ajax

What is the best way of include ctools_include('ajax'); into a page already defined by another module? I'm trying to use ctools ajax framework to replace content (similar to how the ctools example ...
6
votes
2answers
6k views

How to load modal form on page load using ctools?

I have an issue to show modal form on page load. This form will have 3 steps to submit. I've found CTools will suit the best. I'm newbie in drupal, that's why I've looked all tutorials ctools. Every ...
1
vote
3answers
513 views

Ctools wizard back button with #action

I'm trying to build a multi-step form with Ctools that will submit to another website upon completion (a hosted payment page). On the last form page, I have set the #action property in the form array ...
2
votes
0answers
1k views

Creating a custom context

I want to create a custom context. However I can't seem to get it working. I have seen the following from api.text. Adding a condition or reaction plugin Both context conditions and reactions ...
1
vote
2answers
1k views

What's the difference between “Contexts” in CTools/Panels and in Context module?

I've been wondering this for a while and always assumed they were different things, but the fact that the Context module uses CTools for its Plugin API kinda confuses me even more... Can someone ...