| Project: | Date |
| Version: | 6.x-2.0 |
| Component: | Date CCK Field |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
It seems that the CCK date fields that I created are not available in views.
It's not really difficult for me to use views,but when I want to change the date argument from updated date to my created cck date field (as shown around 14:20) my own created cck date field seems not available.
The only cck thing that seems to be there is the following
content: - value
content: - value2
However choosing either of these does not help! (my calendar turns blank if I do)
I followed the instructions in the screencast at http://www.drupaltherapy.com/node/76 and I also tried with a view from scratch. In the screencast you can see that the fields should be exposed under their cck field-name. In my case they are not.
I have no problems with creating a view using another date (e.g. creation date or last updated, or whatever date that always comes with any node.
Drupal 6.9; PHP 5.2.3; Date 6.x-2.0; Views 6.x-2.3
Before using date and views I used the event module. however, I turned that off before installing date module. I also removed it, but did not do anything more. I did not use the same content type, but created a new one.
Thanks!
Comments
#1
If you are using the date as a field it shows up as Content:fieldname, but if you want to use it for filtering or as an argument, then it shows up as Date:Date and then as a second step you can select which date-field you mean.
I didn't watch that screencast and so I don't know what is explained there, but maybe you just oversaw the Date:Date, because it is different for adding a field and adding an argument.
If that solves your problem, please set the status to fixed.
#2
I´ll watch the screencast right now, just wanted to subscribe to this because after the last update, I´VE GOT THE SAME PROBLEM!
Some info:
I´ve got Drupal 6.10
Before upgrading to last Date 6.x, everything worked fine.
The cck date field won´t show up if I create it to have 2 dates (from and to), but it does show up when I create it as a unique field.
Anyway, the calendar is completely blank in both cases.
I use that date as an argument. If I want to use it as a filter, it won´t show up either.
I´ve started from scratch using Date, didn´t have Event module before.
#3
I change this to critical, because you just cannot actually use the calendar.
#4
This post is actually 2 issues that either have been or are being addressed:
Issue #1:
content: - value
content: - value2
This issue has been fixed in the latest -dev
Issue #2
Dates not displaying in calendar.
This issue is being addressed here: #389294: Time Slot Calendar does not work
THERE IS A WORKAROUND: Add the CCK date field to your View's field (see attached picture).
#5
#6
Thanks, it works!
#7
Subscribing.
#8
I don't understand, I have this working fine on an older 6.x site, but my new one doesn't work.
I don't get a Content group in my views filter dropdown and I am using the Date module with a date field (text style, no widget) on my content type. There's no Content: field_date any more, how do I rectify this? I don't follow the Date: Date thing above?
#9
Exact same problem here... everything was working fine, now upgraded to view 2.2, cck 2.1 and date 2.0 and it doesn't work.
@arlinsandbulte: I can not see any date cck fields when trying to add fields in the viewOK sorry.. I removed the date fields.
Now upgrading to cck 2.2 and adding the date fields on the view fields it finally works. Thank you
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
this is confusing. the grouping behaviour is understandable (once you know it's there) but it breaks expectations set based on the way the rest of the CCK content fields are present. besides, the Date:date fields only show Node & User (and it's not clear that the Node date fields will a. include the CCK date fields and b. that there's an extra step involved.)
maybe changing the explanatory text will help some?
#12
ok, i should be more explicit. this is confusing because when you want to filter, you have to use the Date: date group, but when you want to add a field, you have to use Content: field_ .. group.
whatever behaviour is used, it should be the same in both cases...
#13
#14
This has been mentioned in other places to.
IIRC, Karen said that this is necessary due to the way Drupal, CCK, & Views work.
Anyway, I will ask Karen to confirm.