Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Added tag, link to module and improved grammar & formatting.
Source Link
Adrian Cid Almaguer
  • 18.5k
  • 14
  • 79
  • 133

I'm using Drupal 7 and Views 3.

Here is my code, if someone can take a look and advise me about what happened, I would be very grateful.

Thanks everyone !

I'm using Drupal 7 and Views 3.

Here is my code, if someone can take a look and advise me about what happened, I would be very grateful.

Thanks everyone !

I'm using Views 3.

Here is my code, if someone can take a look and advise me about what happened, I would be very grateful.

Added tag, link to module and improved grammar & formatting.
Source Link

First time on Stackoverflow soI'm using , I will try to be as clear as possibleDrupal 7 and Views 3.

I'm using Drupal 7 and Views 3. II needed to create a custom Views filterViews filter that handle dates range. So I looked at example and tried to mimic the behavior and I getgot some trouble.

It seems that when iI extend my own class from views_handler_filter views_handler_filter, the query method is never invoked, BUT if I extend my class from let's say views_handler_filter_string,views_handler_filter_string it works.

I must forget something but I'm stuck here. Here

Here is my code, if someone can take a look and advise me about what happened  , I would be very grateful.

Here is my .views.inc.views.inc file :

And my .module.module file

And part of my views_dataviews_data that use my custom filter :

First time on Stackoverflow so , I will try to be as clear as possible.

I'm using Drupal 7 and Views 3. I needed to create a custom Views filter that handle dates range. So I looked at example and tried to mimic the behavior and I get some trouble.

It seems that when i extend my own class from views_handler_filter , the query method is never invoked BUT if I extend my class from let's say views_handler_filter_string, it works.

I must forget something but I'm stuck here. Here is my code, if someone can take a look and advise me about what happened  , I would be very grateful.

Here is my .views.inc file :

And my .module file

And part of my views_data that use my custom filter :

I'm using Drupal 7 and Views 3.

I needed to create a custom Views filter that handle dates range. So I looked at example and tried to mimic the behavior and I got some trouble.

It seems that when I extend my own class from views_handler_filter, the query method is never invoked, BUT if I extend my class from let's say views_handler_filter_string it works.

I must forget something but I'm stuck here.

Here is my code, if someone can take a look and advise me about what happened, I would be very grateful.

Here is my .views.inc file :

And my .module file

And part of my views_data that use my custom filter :

corrected typo
Source Link
Inizio
  • 3.5k
  • 13
  • 19

First time on stackoverflowStackoverflow so , iI will try to be as clear as possible.

I'm using drupalDrupal 7 and viewsViews 3. I needed to create a custom viewsViews filter that handle dates range. So iI looked at example and tried to mimic the behavior and iI get some trouble. It

It seems that when i extend my own class from views_handler_filter , the query method is never invoked BUT if iI extend my class from let's say views_handler_filter_string, it works oO...

I must forget something but i'mI'm stuck here ... Here is my code, if someone can take a look and advise me about what happendhappened , iI would be very grateful.

First time on stackoverflow so , i will try to be as clear as possible.

I'm using drupal 7 and views 3. I needed to create a custom views filter that handle dates range. So i looked at example and tried to mimic the behavior and i get some trouble. It seems that when i extend my own class from views_handler_filter , the query method is never invoked BUT if i extend my class from let's say views_handler_filter_string, it works oO...

I must forget something but i'm stuck here ... Here is my code, if someone can take a look and advise me about what happend , i would be very grateful.

First time on Stackoverflow so , I will try to be as clear as possible.

I'm using Drupal 7 and Views 3. I needed to create a custom Views filter that handle dates range. So I looked at example and tried to mimic the behavior and I get some trouble.

It seems that when i extend my own class from views_handler_filter , the query method is never invoked BUT if I extend my class from let's say views_handler_filter_string, it works.

I must forget something but I'm stuck here. Here is my code, if someone can take a look and advise me about what happened , I would be very grateful.

Tweeted twitter.com/#!/StackDrupal/status/390045216209907712
added 1 characters in body
Source Link
Loading
minor fix for code
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112
Loading
Source Link
Loading