RepTag and Date
| Project: | Rep[lacement]Tags |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
About a week ago I started having a weird problem with the Date module, where it wasn't adhering to the rules set forth in the 'Display Fields' setting (when managing my Date field in Content Types). I had it set to show the next 5 date occurrences from 'now'. It was working fine, but at some point stopped. It would show me 'all' the dates, regardless of my Display Fields setting.
I decided to do some tests this morning to figure out what might be causing it, and narrowed it down to having any value in the body of my node. If the node's body was empty, the date field would display correctly based on the display field rules. If I put anything in the body, it would ignore the rule and spam out all the dates. At first I thought it might be something to do with fckeditor, which I updated recently, but that wasn't it.
Then I remembered one of the last things I installed was 'Rep[lacement] Tags', which happens to at least display when editing the node, that little helper section, 'above' where the Date field is added. I disabled the RepTag module, and the Date started behaving again, only showing the 5 dates I wanted, even with something in the node body.
I thought you folks should be aware of it. I was wondering if that position of the RepTag Help 'before' the Date when editing the node might have something to do with it? Is there a way I can remove that altogether in the configuration for the time being, or some how change the modules priority so it might not effect when that display field rule is applied?
Great product, though.

#1
I disabled 'Show 'Rep[lacement]Tags - Help' section on add/edit node pages' and that didn't solve the problem.
#2
I tried the latest revision, and it seems like 'some' of this problem has gone away, but some still remains.
Before, with the module enabled, 'all' repeating Date CCK fields would display more than the display rules dictated (in my case, I only wanted to show the next 5 occurrences).
Now, with RepTag enabled, it adheres to the rules until I include a replacement tag in the body of my node, then it ignores the display rules and shows 'all' the repeating dates (which, of course, looks rather ugly).
So close but not quite a full dozen donuts on this one.
Thanks for all your work, looking forward to this little problem getting fixed, as I'm excited to use this module.