d7-dev (2011-Mar-28)
Date 7.x-2.x-dev (2011-Mar-28)
Views 7.x-3.x-dev (2011-Apr-02)
I made a current user View with a relationship of created nodes. I'm just getting the count of the nodes. Im using Date as a Contextual Filter for my relationship node and have the default set to Current date and Granularity set to Day.
Under "Date field(s)" it has User values and no Node values.
What I'm trying to do is have blocks with a count of nodes that the user created today, this week, this month, this year. But I can't when the relationship is recognized but the Date field(s) don't list any node data.
Comments
Comment #1
TimelessDomain commentedMy Date Fields are missing from my Contextual FIlters as well.
I had originally installed 1x Calendar & Date, but then uninstalled them completely & installed the 2x versions. Everything seems to be working fine except for the problem outlined above.
A related issue #1103564: No CCK date fields in Contextual filters after local translation is installed is having the same problem, but with translations. I do not have any translations.
I have tried date & datetime fields. All widget styles (from select list to date pup-up with repeat options), yet nothing works.
ctools 7.x-1.x-dev
views 7.x-3.x-dev
date 7.x-2.x-dev
calendar 7.x-2.x-dev
Comment #2
TimelessDomain commentedApplying patch from https://drupal.org/node/1103790#comment-4306414 fixed my problem
Comment #3
okletsgo commentedPatch/updated dev didn't fix my problem, thanks though. I'll try to clarify...
This is what I have:
- View "Type: User"
- Relationship "User: Content authored"
- Contextual Filters "(nodes) Date: Date (node) (User: Created date)
Now with that contextual filter theres "Date field(s)". Usually it has "Node" options but it doesn't under the View type User. Shouldn't it have "Node" type options since I'm using the "nodes" Relationship?
I've attached 2 images. First being type: User without Content: Post date etc. and second image being type: Node with the fields.
Comment #4
okletsgo commentedI'm guessing something needs to be fixed in date_views\includes\date_views_argument_handler.inc starting on line 55
Comment #5
enxox commentedsome issue here
Comment #6
kreynen commentedUsing a current dev of Date with Views-7.x-3.0-beta3 solves this issues.
http://drupal.org/node/1103790#comment-4306414 fixes the issue with more recent versions of Views, but #1126650: Date fix for #1115442 causes problems with Calendar.
Comment #7
karens commentedThis should be working right with latest -dev version of Date.