Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2008 at 19:55 UTC
Updated:
1 Apr 2012 at 20:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
jscheel commentedHrm, found a bug in this. Will roll a new patch shortly.
Comment #2
karens commentedWhat we really need are several new options for multiple dates, and this could be one of them. Like display only a specific date (I'm working on a way to do that now) or display none of the dates on the front of the node and move the whole, possibly long, list to a separate tab.
Comment #3
joachim commentedSubscribing.
Comment #4
jscheel commentedThe timezone handling is still confusing me quite a bit. I need to read up on this cause at this point, I only have it working for UTC :P
I do like the idea of giving the date repeating some love. The more options the better in this case!
Comment #5
karens commentedNo new features in D5, moving feature requests to D6.
Comment #6
karens commentedThis obviously no longer applies, but I can think of a different approach that might be easier. In the Calendar we give each date field a css tag of 'past', 'future' or 'today', so why don't we just provide a class to the multiple date fields and you can do whatever you want by using css to show, or hide, or emphasize them in any way you want. No hacking of code and very simple.
How does that sound?
Comment #7
karens commentedI just committed a new feature to -dev that should take care of this and more. The formatters now have settings so you can do choose to show or not show the repeat rule, display all repeats or the first repeat or the next repeat from today or whatever. You can also choose if you want to display both the from and to dates, or just the 'From' date or just the 'To' date.
If you use Advanced Help you'll see some popup help for this. The formatter settings are on the Display fields page and when you add Date fields to views.
I'm sure it will still need some tweaking to produce the right results everywhere, but so far in my testing it works to make this all very customizable.
If there are no immediate bugs, I'm planning to roll a new release with this in it.
Comment #8
jscheel commentedHey Karen, I missed your message from last month. This looks great! Thanks for taking care of this!
Comment #10
TimelessDomain commented" The formatters now have settings so you can do choose to show or not show the repeat rule, display all repeats or the first repeat or the next repeat from today or whatever."
i don't see these options in d7 (nor remember them from d6). Did this feature ever get committed? There is only the 2 labeled "already done".
Perhaps there could be more repeat rule formatters.
Under "Repeat rule:" (in views OR CCK display) there could be
- hide repeat rules (already done)
- show repeat rules (already done)
- hide past events while showing repeat rules
- hide future events while showing repeat rules
- show the first repeat
- show the next repeat
Comment #11
shark commentedI wasn't immediately sure how to hide previous dates. The trick is to enter 'now' in the 'starting from' text field when you are editing your CCK-enabled node's date field settings (e.g. go to 'Admin -> Content Management -> Content Types -> Edit Event -> Display Fields').
I've attached an image of what you'll see on the form and what to enter in order to only display repeating dates starting on or after today.