Hi everyone,
i need a little coding help (i think).
I am using the Date module to create an Event Content type. I used a datetime field to collect, well, the date and time. I have created a view to show the Events listed and grouped by date. (Client does not want a calendar view). So the headings that are grouping the events (set up by using Style: Unformatted and Style Options - grouping Field: field_datetime) are pulling the data out of the field_datetime and thus showing both the Date and Time. I want the heading to show only the Date. How do I remove the time from the heading?
I am not a coder but I am guessing write a function that pulls out only the date from this field and create a new variable. Im guessing I have to call the new variable in a template?
Any help would be greatly appreciated!
andrea

Comments
Recipe for creating custom list view that groups events by date
OK, this should now give you the grouping that you want, grouping events by day, displaying the date_only field as the grouping title and the time_only field next to each event within that day.
Bonus points - if you create this view by cloning the "date_browser" view, you will be able to add date browser navigation at the top of your view to scroll back and forth between months.
I wrote this by memory, so hopefully I didn't miss any steps in the process. If you run into problems, let me know.
Brian Gilday
Municode
www.municode.com
Wow.... thanks!
This single post just saved me a ton of time!
Many, many thanks!
THANK YOU! THANK YOU! THANK
THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU!
You saved me from a nervous break down!
This is great! thanks
This is great! thanks
This is great! thanks
This is great! thanks
I tried cloning the date browser, but it doesn't work
This is right what I was after. I am looking to create a display with a date browser (default by week; my client has 250 - 300 calendar events per week to display), but when I clone the date browser, it does not let me add fields. It is set up as an attachment. I assume that you create the view and then attach the date browser, correct?
In which case, can anyone point me to a good tutorial on attachments? :-)?