block for 'upcoming events' - or is this a cck date question?
zilla - October 11, 2008 - 22:55
| Project: | Calendar |
| Version: | 6.x-2.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Description
so if i create a block for my custom event type used with calendar/views/cck date, it will pull by date created, not the actual date of the event...
what i'm trying to create is a block that shows upcoming events in a list, like X upcoming with a link to more (where 'more' just links to calendar again) - the views i'm using pulls the from field, so works perfectly, but how could i replicate into a block that list them by title?

#1
here's what I did:
I created a view called Upcoming Events.
I made it a block, enabling List View.
Under Fields:
Node: Title, as link
Date: Time, do not group multiple values, Option=default
Filters:
Published equals yes
Node:Type ---is one of--- Event (create your own CCK type for events)
Date: Time - To Date---- greater than or equal to---- and in the option field type "now" without the quotes.
Under Sort Criteria:
Add Date:Time and sort Ascending.
This created my Upcoming Events block. The only thing is that the links link to the node, not the calendar.
#2
funny, wound up doing nearly the same exact thing - links do go to that sort of not nice looking node summary BUT i added footer text in a list format to indent that just says ">> check out the full calendar!" with a link to the calendar...
it would be nice if the default mini calendar block were accompanied by a default 'text list of X events on calendar' but it appears that we both just figured it out on our own ;)
#3
Duplicate of #290365: Upcoming events view.
#4
When you create that block, it seems as though an event with a repeat does not show up. Can anyone confirm this?
Thanks!
#5
@robclay - correct, and when i did that view it also shows what appears to be duplicates but in fact are not (an event spanning multiple days shows up in a list for each day, so if three days in a row, appears 3 times on list - but that actually sorta makes sense, just looks kinda funny)
#6
Further Review...
I can get my events to show up... I changed the argument to Date - Granularity - YEAR... now my events are showing up.
BUT... the TIME for the original event is displaying ONLY for the originally created event, and not the repeats. (See attachment) Forgive my crudely executed text markup!
#7
has any one figured out how to organize the upcoming events by day
for example: if today is Sunday
Sunday:
event 1
event 2
Monday
event 3
event 4
Instead of having one long list.
#8
Has anyone ever considered this? Having the current day at the top and an list of calendar events for that day, But the "current day" is always on top of the list
#9
@shortcircuitcg: see this issue: #405352: Can nodes be grouped by Day in an Upcomming View?
#10
Many thanks man. That addressed the issue I was having. Thanks for posting!
CH
#11
This is a reply to
#7
shortcircuitcg - March 1, 2009 - 02:41
has any one figured out how to organize the upcoming events by day
for example: if today is Sunday
Sunday:
event 1
event 2
Monday
event 3
event 4
Instead of having one long list.
Yes, there is a nice tutorial here and it will work as long as you have just one content type http://geeksandgod.com/tutorials/computers/cms/drupal/creating-upcoming-... .
My problem is doing this with 4 different content types. How to group them together and sort by date? There is not an option for doing this in Views. I'm sure this can be done with code if someone can help.
Thanks.