Hello, is there any module where I could see how to replace ctools plugins in the module, in particular, I'm interested in hook_ctools_plugin_directory (), hook_context_plugins () and hook_ctools_plugin_api ()
Unfortunately, I did not find any useful information on this link, I am interested in the module that was converted from Drupal 7 and in which ctools was used earlier
Just FYI, for field API date fields that use ISO format (basically a string), the resulting expression produced by the date_views_filter_handler_simple handler is
DATE_FORMAT(STR_TO_DATE(...
Posted1 day 6 hours ago by Alejandro Cremaschi (argiepiano) on:
Yes, what I suspected. The core views filter handler for dates (views_handler_filter_date) can only handle UNIX timestamp sql columns.
You'll either need to extend that filter handler to...
Posted1 day 6 hours ago by Alejandro Cremaschi (argiepiano) on:
Good call on the devel...it shows the filter on the date field is looking for a unix timestamp. FYI, that value corresponds to yesterday, July 13
WHERE (( (ShowsNotices.ShowDate >=...
Are you able to do some debugging? Can you output the variables in views_handler_filter_date:op_simple() ?
Specifically, I would enable Devel and insert something like
dpm($this->...
Posted1 day 7 hours ago by Alejandro Cremaschi (argiepiano) on:
Comments
Does this help at all? (It's a wiki so feel free to edit to help clarify for others):
Unfortunately, I did not find any useful information on this link, I am interested in the module that was converted from Drupal 7 and in which ctools was used earlier
See if this is useful:
Feeds Tamper also had some of this conversion, but it looks like it's in a number of commits:
Yes, this is what need, thanks I will understand