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
1answer
932 views

Javascript not loaded in loading ctools modal

I have a some modal forms, the link of those embedded in views result, link are somethings linke share/nojs/2 , I register a menu in callback of the links, It work correctly for root user, but I ...
1
vote
1answer
2k views

How to use ctools_ajax_command_redirect with $_GET parameters

Is it possible to use ctools_ajax_command_redirect with $_GET Parameters ? I am only able to redirect it to an absolute path as of now ..
5
votes
2answers
1k views

How to render a Views Content Pane programmatically?

I have a view which displays all content of type "news" which is tagged with a specific tag, e.g. "world" (passed as parameter to the view). The view machine name is news. It has a display of type ...
1
vote
1answer
140 views

Why does Panels output <section> for some panes and <div> for others?

I'm just wondering what causes Panels Pages (or cTools pages? Never figured out which is which) to output some panel panes in a <section> html tag wrapper, and output the other panel panes in a &...
0
votes
1answer
138 views

Panelizer settings page not found for OG group node

I have a site with several content types, all of which are OG content except one type, Group, which is a group. I also have Panelizer and Panels Everywhere enabled. When I go to edit the default ...
1
vote
1answer
855 views

Alter a panel page variant provided by another module (programmatically)

How can I alter a panel page variant provided by another module in my own module? I am using Advanced Forum, and it provides a panel page to override Drupal's core forum display behavior and some ...
0
votes
1answer
651 views

How to display the profile page in Modal window

By using ctools, i am able to display a form in modal window. Now i wish to display a page(the profile page) in modal window. Below is the sample code (call by menu page callback) to display a html ...
0
votes
1answer
1k views

How can open add content form in modal form module

I want to load content form (example article content type ) in modal. As Modal module allow to open forms in modal, but by default it given this feature to some of the form. My question is how can I ...
3
votes
1answer
487 views

Is there a way to integrate revisioning with Panels + CTools content types?

I'm using CTools content types to make highly customized Panels panes. The panes together form a Panels Node (I'm using the Panels default module for this). The Panels node itself can be revisioned, ...
1
vote
2answers
86 views

Need way semi complex way to display author posts in views

So I have an interesting request and I'm hoping some of you guys here might know a decent way to solve this. On one of our homepages we have a block that shows current authors posts. This was a ...
0
votes
2answers
893 views

How to show search results in view within panels?

I created view & content pane that has many filters and also search term field. In addition, I created a page with page manager and panels, that present this search view (content pane), with more ...
1
vote
1answer
1k views

How to easily create a landing page for contents with specific tag

I'm building an intranet portal for a non-profit organization I work in, and currently figuring out how to make it easier for my colleagues to build a landing page that displays all contents tagged ...
3
votes
2answers
2k views

Use Optional Arguments in a Panels Path

I am porting an existing custom form that takes optional arguments from the URL to preload some fields. I can not use the ?q= method because I must maintain backwards compatibility. For example, both ...
1
vote
1answer
76 views

Using two arguments in a panels page?

Here's what I want to do, for context: I want to go to mysite.com/groups/%gid/%nid and see the node specified by %nid with an OG menu and a header pane that get their context based on the %gid. So if ...
0
votes
2answers
437 views

storing value in session with ctools wizard

I have created a multi-step form using Ctools wizard and its working fine. In multi step form, there is only images, so user will select the image and click on "Continue" button for next step. In the ...
0
votes
1answer
885 views

How to add Profile2 form to ctools multistep wizard

I've been basing this off of Grashmash's article over building a multistep registration with Ctools, and I can't seem to get the Profile2 form in. I don't want to use the Field Group multistep option ...
5
votes
2answers
2k views

Panels page variant that targets a single node

I am a little new to Panels, but I am using it to manage layouts for different content types and it is working out really well. However I want to be able to create a page variant that will only target ...
1
vote
0answers
207 views

Warning when adding Link to a Page (using page manager), Why? [closed]

I am using Drupal 7. I created a page using page manager. In the "Basic" tab I gave it a path (didn't make it my home page): 'abcpath/all' In the "Menu" tab I chose "No menu entry. then I want to ...
0
votes
1answer
683 views

ctools modal form shows ugly access denied

I have made a modal form using ctools. The form works okay when the user has access rights, but with no access rights an empty modal form is showing and I get a browser error saying "An AJAX HTTP ...
0
votes
0answers
459 views

Call drupal_add_js and drupal_add_library in ctools modal callback

I am trying to load yandex.maps on ctools modal, and i need to pass map settings to js and load yandex.api js libraries inside modal. But somehow drupal_add_js and drupal_add_library doesn't work ...
0
votes
1answer
675 views

ctools_modal_render() in a condition

I have the following code in my custom.module (using it in hook_init()): if ($js) { // Required includes for ctools to work: ctools_include('modal'); ctools_include('ajax'); } if (...
0
votes
1answer
1k views

Comment form is not working with ctools popup

I want to display a comment form in popup in drupal 7 website. I have created a custom module to display comment form in ctools modal and added a link in the views page. Comment form is displaying ...
0
votes
1answer
768 views

Ctools modal close breaks page JS

I have created a custom module which opens modal with a specific Url Pattern. I'm using the url in a view and it works well. The only problem is that I also load another piece of jQuery to create a ...
3
votes
1answer
2k views

Ctools modals without AJAX

What's the sanest way to present a Ctools modal to the user while bypassing the normal AJAX workflow? For example, how could I show a completely JavaScript-generated "Are you sure you want to log out?"...
0
votes
1answer
3k views

Page Manager Error: The requested page “/xxxx” could not be found

I am working almost 4 hours on the following problem, and can't solve it (Drupal 7). I tried to build a new simple page in the page manager as I did few times before. I entered a simple path as /xxxx ...
1
vote
1answer
39 views

Tracking an authenticated user's first visit to a Panels page and forward them to another page on subsequent visits

I'm looking to expose authenticated user stat information to CTools / Panels. Basically, I need to have a Panel variant that says: If the user has never visited the page, display this variant, if ...
2
votes
1answer
2k views

Adding additional fields to panels

I'm working with Page Manager and Panels. I'm adding content (panels) to each custom page layout, and every panel has a title by default. Is there any way to add additional information, common to ...
3
votes
2answers
817 views

Ctools multistep form cache

I, like other people on here it seems, have been trying to build a multi-step form using this tutorial about how to use the Ctools wizard to do so. My ultimate goal is to replace the registration form ...
1
vote
2answers
799 views

Visibility rules if field is filled in

We made a visibility rule to display a field when a second field has been filled, and display another field when the second field is empty. It works well, but since we updated Ctools and some Drupal ...
4
votes
1answer
773 views

Page Manager and Panels settings — where do they live?

I'm continuing my quest to make every piece of common site architecture into something that can be displayed in a View. Right now I'm on Panels panes and Page Manager pages. I have a site that is ...
0
votes
1answer
146 views

Can I use the CTools modal functionality under HTTPS adn Display Suite?

The client for a new project wants their content to display in a modal overlay. From my research so far, it seems using ctools is the way to go. My question is, some of this content will be product ...
0
votes
1answer
248 views

How to make sure that panels classes are added to a CTools pane?

I am attempting to define a CTools content pane based on the tutorial here. However, when I add my pane to the panel, no matter what region (left sidebar, header, footer) I add it to, it is printed ...
1
vote
1answer
594 views

Can't find my website page listed under admin/structure/pages

Driving me crazy! I have a website page: http://www.randymtrader.com/contact that I cannot find anywhere in drupal admin/structure/pages. There is nothing with the path /contact. Where else could it ...
0
votes
0answers
261 views

Generate breadcrumbs for tabbed content

I inherited a Drupal 7.22 site that uses Panels 7.x-3.2 (and Panels Everywhere 7.x-1.0-alpha1 and Ctools 7.x-1.3) and I've tried Panels Breadcrumbs module for the breadcrumbs. The site has a few ...
1
vote
1answer
750 views

Process a token from panel context in a ctools content type plugin

I have a ctools content type plugin. It has a simple text field settings form. In there I am putting a token from the panel content e.g. %vn_subject:vn-subject-facebook-link. I am then rendering this ...
5
votes
2answers
439 views

What is the difference between a view mode and a style plugin?

It is possible that you can define the difference between a view mode and a style plugin. As far as I understand a view mode defines what fields are outputted and a style plugin decides how to render ...
1
vote
0answers
255 views

Modal Register form is not working

I am using the Modal forms (with ctools) module for registration and login in my Drupal 7 site. When I click login/register, I am able to log in with an already existing username, but I am not able ...
1
vote
1answer
619 views

Panels to do a specific layout for one content type edit mode

How can i use panels to do a specific layout for a content type only for the add and edit form ? I'm a newbie on panels but not on Drupal.I'm using panels 3 on D7. will be great to give me examples or ...
4
votes
1answer
63 views

How do I include linked data to a Page in Page manager?

Given two pieces of data, for example two entities, two nodes; when viewing one of them, how do I pull in data for the other one into Page manager/Panels?
1
vote
1answer
90 views

ctools export_api question: ctools_export_crud_load vs ctools_export_load_object

What is the difference between ctools_export_crud_load/ctools_export_crud_load_all and ctools_export_load_object and under what use case should one use one or the other?
1
vote
2answers
217 views

Embedding content in a panel ctools plugin- any other options

instead of using views, on some occasions, I want to write custom code to display a list of content. I know how to create ctools content type plugins, and in here I could create my EntityFieldQuery to ...
2
votes
1answer
3k views

How do I provide a page manager page override for my custom entities using ctools plugins

I have a custom entity type implemented, this is essentially identical to what the Model module provides, with extra integrations. I'm wanting to use panels and page manager to template my entity ...
0
votes
2answers
286 views

no pictures show up

Since that I have uploaded my files and my DB to an actual server, NONE of the pictures of the website show up. I already checked the permissions and it should be fine. I ran a general report. There ...
6
votes
1answer
1k views

When creating a Chaos Tools content type plugin, what is a subtype and how are they used?

I'm perfectly fine with creating Chaos Tools content types for use in Panels, but I've always used single => TRUE. I've looked through the docs, but still can't quite seem to grok how to utilise ...
2
votes
0answers
50 views

What is a ctools plugin? [duplicate]

What is a ctools plugin? Why would one want to use a ctools plugin ? What advantages does it have over the current hook system? Is there currently documentation regarding usage of ctools plugin? I ...
0
votes
2answers
164 views

Clear input field after click without attach any external script

Are there any helper functions contained in Drupal core or Ctools to perform popular tasks such as clearing input field after an event occurs ? I know how to do it using external js (javascript) file, ...
3
votes
1answer
4k views

How to bind javascript to ctools modal load

I have a ctools modal popup that has no Drupal generated form but an external iframe that loads a form into ctools modal. I have some jQuery codes to be invoked when the iframe gets reloaded (ie. to ...
1
vote
1answer
4k views

Understanding ctools_modal_form_wrapper

I am trying to get a handle on Ctools ajax modals and I am reading a lot of tutorials. In one of the tutorials (on https://gist.github.com/mrconnerton/1979037), I see the following code: // Create a ...
1
vote
1answer
987 views

Page Manager URL arguments

This seems like it should be simple, but I can't figure out how to get Page Manager and Pathauto to play nice together. I'm trying to use Page Manager/Panels for a set of pages of a specific node ...
1
vote
2answers
449 views

Multipage registration form with Ctools

I'm trying to follow the tutorial on multipage user registrations at http://www.grasmash.com/article/building-multistep-registration-form-drupal-7-using-ctools, but I'm doing something wrong. As it's ...