Questions tagged [drupal-ctools]

Drupal - Chaos tool suite = This suite is primarily a set of APIs and tools to improve the developer experience.

Drupal - Chaos tool suite (ctools). This suite is primarily a set of APIs and tools to improve the developer experience.

Learn more about Drupal - Chaos tool suite here (ctools).

45 questions
1
vote
1 answer

Drupal 7 CTools Upgrade Gives Ajax Popup Error

We upgraded our core modules just fine. We then upgraded Ctools and Date module and our popups are now throwing errors. jQuery versions look the same. I've searched and cannot find why this is happening. Error is below: We upgraded our modules.…
Don Sevcik
  • 915
  • 1
  • 8
  • 23
1
vote
1 answer

Ajax loading in Drupal using Ctools breaks

I'm working on a custom module using CTools ajax and form. I tried to combine this example with the one from here. It goes like this: a user chooses from one of the radio buttons, on submit the map of US+Canada is going to load with links to another…
friendlydrupal
  • 601
  • 5
  • 8
1
vote
1 answer

How to make multistep forms with drupal using various node types

I'm creating a very basic classifieds website. In this website i'll have various content-types; such as : Car (which has the cck fields : year, kilometers, color House (which has the cck fields : number of floors, garden (yes/no) So each…
Disco
  • 4,226
  • 11
  • 58
  • 76
1
vote
1 answer

CTools Include sometimes doesn't work

So using the drupal include function for a dropdown works, but on certain pages the scripts are not included and there is no error thrown anywhere. This happens inside hook_block_view. On the actual page, Drupal.behaviors.CToolsDropdown is missing…
brianxautumn
  • 1,162
  • 8
  • 21
1
vote
0 answers

Drupal Form API - Default Textfield Value (from LDAP/CAS Lookup)

I am building a form using the Drupal 7's Form API... all has been kosher thus far; but looks like I have hit a wall. Looking for guidance/point in the right direction: A user logs in using CAS (Central Authentication Service). Clicks on a form to…
Rushikumar
  • 1,774
  • 5
  • 18
  • 28
1
vote
1 answer

Drupal: what's the similar way of views_embed_view() for embeding a Panel page?

i use to use views_embed_view API function to load views automatically. now i need to load a panel content problematically; but i could not find a function like views_embed_view. is there such a thing at all? is there something like…
Alexar
  • 1,858
  • 5
  • 24
  • 34
1
vote
0 answers

Drupal Chaos Tool Suit Custom Ruleset error

I am using Drupal core 6.14 and Chaos Tool Suit 6.x-1.12 and in the ctool custom access rulesets page I am getting error when loading the ctools modal dialog. The POST request url in my local machine is…
Anshad Vattapoyil
  • 23,145
  • 18
  • 84
  • 132
1
vote
1 answer

Drupal Ctools Form Wizard in a Block

I created a custom module that has a Ctools multi step form. It's basically a copy of http://www.nicklewis.org/using-chaos-tools-form-wizard-build-multistep-forms-drupal-6. The form works. I can see it if I got to the url i made for it. For the life…
Iamjon
  • 11
  • 4
1
vote
2 answers

Drupal 6.x CTools

We make use of views and panels quite often in Drupal and a lot of people are utilizing CTools in development. I can't find a lot of documentation on what it is and why you'd use it and the drupal.org forum isn't providing much either. What is…
Kevin
  • 13,153
  • 11
  • 60
  • 87
1
vote
1 answer

Drupal commerce show checkout in modal

The situation; Trying to include the checkout process in a modal window. User clicks “add to cart” -link and a modal window (or alternatively an ajax load into a div in the same window) is used to show the checkout form. Right now, i’m not clear…
1
vote
1 answer

Drupal Ctools - trigger jquery on modal events

I would like to add JQuery events when the CTools modal is launched or closed. It's simple to add an event to the launch or close click $('.ctools-use-modal').on('click',function () { $('body').addClass('modal-open'); }); But for closing the modal…
dotist
  • 63
  • 8
1
vote
2 answers

Drupal Ctools Modal Handling

I'm calling a function with URL http://mywebsite.org/param/ajax?ID=2 which will return a form in html for which i use the following functions in the corresponfin callback function in my custom module. $form_state = array( 'ajax' => TRUE, 'title'…
Manoj Sreekumar
  • 680
  • 3
  • 14
  • 30
1
vote
0 answers

drupal 7 ctool modal form custom submit handler is not being called

I have a requirement where i need to show webform in ctool modal. When user submit the webform it should show the confirmation message in the same ctool modal. This functionality is being used in my project at several places just the webform to show…
MutantMahesh
  • 1,480
  • 15
  • 20
1
vote
0 answers

CTOOLS/CSS 404 NOT FOUND

I'm experiencing a rather odd problem. My server log is full of calls to urls like: /sites/default/files/ctools/css/588b003a48050c4e59cbeba2b453cb92.css They are all 404 errors. But the site works perfectly well and looks good. Only I have a huge…
FAS
  • 11
  • 1
0
votes
2 answers

Selecting a CTools Plugin in Drupal 7

I am writing software to generate an amount of couponcodes, the user has to be able to pick an algorithm that generates the codes. I want to write a couple of algorithms and make them into plugins with the CTools Module. Depending on which algorithm…