Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
Date Repeat API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2009 at 17:43 UTC
Updated:
8 Aug 2013 at 19:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
davidteall commentedHi!
I have the same problem. I have tried 101 permutations of the settings to no avail. I also have the problem that every individual repeated date is displayed at the top of the node every time it appears in the list. As I have set a Repeat for a year you have to scroll down past 52 dates before you can read the details. It looks like this
Repeats every week until Mon Apr 5 2010 .
Monday, 6 April, 2009 19:00 – 19:30
Monday, 13 April, 2009 19:00 – 19:30
Monday, 20 April, 2009 19:00 – 19:30
etc
etc x52
If I click on the calendar entry for, say, 20th April I would like it just to say:
Monday, 20 April, 2009 19:00 – 19:30
Repeats every week until Mon Apr 5 2010
Are you getting this problem as well? If not, what settings have you used in Display Fields to prevent it happening? It has stumped me.
Comment #2
aelling commentedI also have this exact issue. I have tried all the different display option permutations on the date field and used the Advanced Help menu to make sure I had the correct settings I also downloaded the newest dev-version (as of 4-13-09) after reading some of the other date issue comments but it the problem still exists. Has anyone had any success in customizing the date display of a repeating date?
Comment #3
gpk commentedSimilar problem here. Using 6.x-2.x-dev of April 13, 2009. The repeat rule is always shown for just the first instance of the event in the calendar.
@1: I can control the number of repeated dates shown on the main node page by doing Admin -> Content management -> Content types -> Repeating event [hit edit] -> Click on Display fields tab, then tell it how many dates (e.g. 0) you want to show for the Teaser display and Full node display.
Comment #4
davidteall commentedI've tried exactly that repeatedly but it will not work for me. No matter what settings specify they simply do not 'take' and I still get all the repeating dates.
Comment #5
gpk commented@4: Are you using the latest dev version? Have you tried creating a new content type/field to isolate the problem? Might be worth opening a new issue since control of display of the list of repeating dates may be a different problem from display of the actual rule by Calendar Views.
Changing to bug since the the behaviour I'm getting is very odd (i.e. not just that the repeat rule displays (there might be a setting to control this), but it displays just for the first instance of the repeating event in the calendar).
Comment #6
gpk commentedUpdating title.
Comment #7
gpk commented@fletch11, @2: have you seen the option to "Hide repeat rule" when you are configuring the field from within Views? I think this is the answer we have been looking for.
If there is an issue here it is that the rule is only shown for the first instance of the event. And also perhaps that showing the rule is the default.
Comment #8
aelling commentedI am specifically seeing the bug on the node view of the content I create. I have setup a content type called 'Event'. On that event I have a date field that is using the jquery date picker and has repeating dates enabled. On the display settings area for the Date field on the Event content type I have set the repeat rule as can be seen in the attached screen shot. The display rule however does not seem to get applied because the date repeat output still lists all the dates that are repeating as can be seen in the second screen shot.
Comment #9
gpk commentedThe screenshots are helpful, thanks. When I updated to 2.0 the additional options to control the display of repeats and the repeat rule "appeared" (as per your first settings screenshot), and the tab giving access to the full display of repeats on the main node form disappeared. However the latter is still present in your 2nd screenshot. After poking around I see there is a new "view date repeats" permission. However this doesn't seem to be the culprit. In fact I still can't get it to go wrong, despite trying several different things.
Silly questions, but: did you run update.php, have you tried clearing the caches on the site (admin/settings/performance), have you tried re-saving the main field configuration page, have you tried re-saving the node?
Hmm, am working on our own parish website, many churches seem to be giving the date repeat API a bit of exercise ;) BTW this may be of interest: http://drupal.org/node/298334#comment-1393432
Comment #10
aelling commentedThanks for the response gpk, but I have tried all those suggestions with no luck. After doing hours of trying different things I truly believe this is a bug and not a configuration setting. It appears to me that the display rule is just not being applied or invoked on the node when it is set with repeating dates.
Comment #11
fletch11 commentedI've tried all these options as well with no luck and the hide repeat rule does not appear to work for me. Sorry.
Comment #12
davidteall commentedI agree with #10 and #11. This is definitely a bug. I cannot hide the date repeat rule and I cannot control the number of dates displayed. The settings make no difference at all.
Comment #13
hba commentedI've got the same problem. Date 6.x-2.2.
Comment #14
fletch11 commentedHas there been any more activity with this or has someone figured out a work-around?
Comment #15
davidteall commentedWith the newest versions of Date and Views I can at long last control the number of repeats that show. A great improvement.
The individual entry shown in a View now shows the next date on which the event will take place rather than the first date in the series which used to be the case. This is also a great improvement. Unfortunately, it shows this date for every incidence of the event rather than showing the correct date on each occasion. To see what I mean, have a look here:
http://www.oundledeanery.org.uk/events
Scroll down and look for the repeating event 'Thrapston Parish Prayers - Mondays'. It shows up in the correct place in sequence for the whole of 2009 but it displays the same date (the date of the next occurrence) every time. It ought to display the correct date each time i.e one week further on for each occurrence.
(I have posted this same report here: http://drupal.org/node/302498#comment-1692142)
Comment #16
Anonymous (not verified) commentedI think that if you check "Rewrite the output of this field" for the date field in Views, and then enter the appropriate token for your date field (in my case "[field_date_value]") it will display the date correctly for each node.
Comment #17
davidteall commentedThis looks a very interesting idea, but I can't find the check box "Rewrite the output of this field". Where should I be looking for this?
Comment #18
felipe commentedSugestion #16 doesn't work. Must be something else. I think this is a bug too.
Say, we have a repeating event (every week, the whole year). Let's show each ocurrence in a table, so create a table view, choose fields, one of them is the date.
The result should be one event in each row... The repeating event can thus appear along other kinds of non-repeating events.
In #298334: Repeating dates in separate nodes is an idea to create nodes for each repeated date.
Anyway, this is somthing that must be taken care of regards date repeats. I'd appreciate a lot.
Comment #19
kevinquillen commentedYep, happens to me too. Very frustrating. Hide Repeat Rule is set in all the views. In the content type display fields, its set to Display Repeat Rule. If I set them both to Hide Repeat Rule, it actually -displays- it everywhere.
Comment #20
kevinquillen commentedI just did a return; in rrule_description() function in the date repeat module. Nothing I was changing was working for me. This worked. :)
Comment #21
felipe commentedHi, gh0st25. Can you elaborate your solution?
Comment #22
kevinquillen commentedIn the function, instead of returning the string, comment that out and just do return; I just wanted to never show "Repeats every day until..." verbiage and none of the settings was getting rid of it.
Comment #23
Chad_Dupuis commentedAfter trying a multitude of options, I finally got the list of dates that an event repeats on (when viewing the node) to not list. Hide rule, didn't work, unsetting view repeats, etc. didn't work, what did work was to set the content type to "display repeat rule" (which by itself did nothing) and then above in Show ___ value(s) set to "0" - this combination took them off for me.
I've uploaded a picture in case it is helpful. Hope this saves some folks some time....
Comment #24
kevinquillen commentedToo time consuming, thats why I hacked the code. Those options *SHOULD* work.
Comment #25
aww commentedThis settings worked perfectly for me!
Comment #26
silkscreen commentedI was lost with this.
I thought maybe i had to change the 'widget type' via the 'manage fields' section.
Edit Content - Content Types - manage fileds on the Date content type - configure -
then change the 'basic information'.
--textfield with repeat options
to
--textfield with pop-up calender
i eventually disabled the repeat api module --
Comment #27
jenyum commentedFollowing the suggestion in #25 did the trick for me, however now at the top of the event it says "Repeats every month on the Thursday until..."
That should be "the third Thursday"
Something is missing, probably a line of code somewhere. I'd rather it just said "Repeats every month" than garble the English.
Comment #28
nairb commentedI am running 6.x-2.2, so I can't comment on the problem with not displaying the repeat rule in dev. Although, to limit the number of repeated dates that are being shown, try this: Go into the 'display fields' tab of your event type and enter 'now' for the 'starting from' date. Then in the 'show ___ values' box put the number of next events to show.
Hopefully that helps some of you.
Comment #29
arlinsandbulte commented20+ weeks at "postponed (maintainer needs more info)" without any reply or support.
There appears to be a way to fix this as per #25.
Marking closed.
If you are still having this issue, please open an new issue and describe steps to reproduce in detail.
Comment #30
davidteall commented#25 does not fix the problem. The problem is still there exactly as it was when this thread started.
Comment #31
vitis commentedsub
Comment #32
kevinquillen commentedthis is utterly annoying. I have HIDE REPEAT RULE set in all views and the content type and it -still- shows.
Changed this line in date/date_repeat/date_repeat.module
Worked for me.
Comment #33
Marat commented#25 works with me too!
Comment #34
hypatia7777 commented#32 worked for me.
Comment #35
mark.riggs commentedI tried #32 and got a warning:
warning: Illegal offset type in isset or empty in /home/myusername/mydrupalsite.org/includes/common.inc on line 916.
and the word "Array" between the event name and time on the calendar.
Comment #36
baff commentedsubscribe
Comment #37
awreneau commented@ mark.riggs, I tried the solution in post 32 also and had identical results as you. So I just commented out the original line and it works as expected. No repeat rules showing.
Comment #38
baff commentedDoes this go ito the module?
Comment #39
MorganG commentedI solved this with the Node Repeat module, http://drupal.org/project/node_repeat
Comment #40
kevinquillen commentedNote that what I posted isn't a real solution since the return string should be modified by the options the user has set (display repeat, dont display repeat, etc), but is the only way I got the text to stop showing in the version that I have. I don't know if this has been resolved in a newer version of the module.
Comment #41
macdoggie commentedSubscribe
Comment #42
colmobri commentedHad the same problem as #4 with the settings not sticking in the "Display fields" admin screen. Works fine with new content types but not with my existing content type.
After some digging I discovered the Date module wasn't pulling the date field settings stored in the variable table. This was caused by the first letter of my content type being capitalised (a mistake I made when creating it) and though CCK always seem convert to lowercase, at some point the Date module created entries in the variable table without converting to lowercase. So when get_variable in the Date module uses lowercase of the content type name to generate the setting name it fails to find the rows.
Solution: deleted the rows from variable table for this content type and date field. Rows recreated correctly when I resaved on the Display fields screen.
Comment #43
mfcoburn commented#25 worked for me. Thank you.
Comment #44
BMorse commentedI confirm that #25 solution worked for me.
Comment #45
kgg commentedMake sure you have "Group multiple values" turned off..
Karl
Comment #46
tigerfist commentedi tried for about half an hour to hide the repeat rule in the calendar by changing the settings in the content type display fields to no avail, only to realize that since the calendar is made in Views, there is also a hide repeat rule option there.
If you go to your calendar view, click on whatever your content field is called in Fields (mine is "Content: Date - From date") and at the very bottom of all the options, under Format, there is an option to Hide or Display the rule.
I don't know why I didn't think of this sooner, since everything else I do behaves in the same way!
Anyway, hope this helps some of you.
Comment #47
kyk36 commentedto me it was the same, I use the version of Drupal 7, click structures, content type, click to edit the content type created automatically by date tools in my case called Date. In managing presentation, drag the field that refers to the date and drop it in the part called hidden set, click save, and voila!
at the nodes created with the content type date, the tabs will show the administrator to view, edit and repetitions, and so not all occurrences will come out in the same section
Comment #48
Anonymous (not verified) commented#46, Thanks for your help, that worked in Drupal 7!