Hi,
Thank you for your work on this module.

I just installed today (D7) and set configurations according to directions that I found. However, I cannot find the request reminder? I see a reminder tab on my user page, but shows no pending reminders.

* I am logged in
* Authenticated and Administrator roles have permission to request
* Reminder on content type is enabled and set to on as default

I already removed and re installed to see if that would help.......I expect the request shows in the content of the enabled node/entity. I don't see it in the calendar either.

Thanks in advance

Comments

dwillcox’s picture

Assigned: Unassigned » dwillcox

Hmm. I'm not sure off the top of my head. Two things you might check:

  1. The "on by default" may apply only to newly created nodes. If it's a pre-existing node, you might have to go the node's edit tab and enable for that node. I don't remember offhand how that works. New date items should have reminders enabled.
  2. Make sure that the date (or at least one occurrence of the date) is in the future. DateReminder won't let you request a reminder for something that's already in the past.

If neither of the above solve your problem, please post back here.

dwillcox’s picture

Also, just checking... If this is an entity other than a node (I'm not very conversant with non-node entities in D7), DateReminder probably won't work. If someone can suggest a use case for this an explain how to set it up, I'll consider adding support for it.

But then, you said reminders were enabled for the node type, so I suspect that's not the case here.

bodyblueprinter’s picture

Thanks for the quick response. I had read through a few of the issue posts before my post, I did read about the existing date/content instance. I tried creating a new "event" from an existing content type that I was able to see, and set, the Date Reminder settings.

I am still not able to see request for reminder, I am using a content type that has a Date (ISO) field so I get all of the administrative functionality, I just cannot see the request for reminder ( I have display tab option selected in the module configuration)

dwillcox’s picture

Aha!

I played with it tonight. Try flushing your cache. I bet that will fix it.

Here's the problem. DateReminder's datereminder_menu() hook returns different things depending on the setting of "as tab." Since menu structure is cached, it's necessary to flush the cache any time the "as tab" setting is changed. There's logic in the DateReminder admin menu to do that, but apparently it isn't working. Since it depends on what's probably considered unspecified behavior, there's a good chance that some change in Drupal core along the line made this not work.

I'll try to see if I can find a better (i.e. correct) way to do that. But for now, if you flush your cache it will probably work unless you change the "as tab" setting again.

Let me know if that solves the problem.

dwillcox’s picture

Category: support » bug

After poking around in some other Drupal code, I figured out the right way to do this. Clearing the cache ought to fix your problem for now, until you change that setting again. Version 7.x-1.3 will rebuild the menu automatically.

dwillcox’s picture

Thanks for calling this to my attention.

dwillcox’s picture

Arggh! Something broke badly in 7.x-1.3. Don't use it. Wait for 7.x-1.4.

bodyblueprinter’s picture

THANK YOU FOR YOUR EFFORT!!!! :)

Waiting for 7.x-1.4

dwillcox’s picture

It's ready now.

dwillcox’s picture

Status: Active » Fixed
bodyblueprinter’s picture

Thank you again for response!

Installed 7.x-1.4 Here is what I discovered:

*Repeating dates in calendar are now titled "reminder [node]"
*Content Type reminder settings are set to "Allowed: On by default"
*Reminder dates tab displays "No reminders pending"
*Content does not display "Requesting reminders" as displayed in screenshot
*Configuration dose not allow for resetting of lead times once saved, i.e., changed lead times to two days but now cannot reset to a different lead time, tried setting to 5 days with no time and got "New lead time must be numeric" error.

My goal functionality is to have users see the name of their event in calendar, receive emails about each upcoming event in schedule, and unsubscribe if desired. This may be too much to ask, and rules are always an option. To see functionality in action you can create an account @ www.bodyblueprinter.com to test :)

dwillcox’s picture

bodyblue -

Since I converted this issue to a bug report (since there was an actual bug involved), it would be good if any new problems went into a new issue reported against 7.x-1.4.

But I don't see any of this. So let me ask some questions/make comments about the items on your list.

One question first:
Is this a new problem in 7.x-1.4? Could you revert to 1.2 and see if you see it. The only difference between 1.2 and 1.4 is that the latter does a menu rebuild properly. You can get the same effect manually in 1.2, just make sure you flush caches (it's under the performance menu) after changing the "display as tab" setting. Or at least that was the intention. I want to make sure that I didn't inadvertently change something else.

But about your specific questions:

*Repeating dates in calendar are now titled "reminder [node]"
Where do you see this? Is this an existing calendar view? Reminders shouldn't have any effect on how your nodes show up in various views. It almost looks like you're displaying entries from the reminder table. In my freshly-created calendar view, each node has the name of the calendar entry, "reminder [node]". Or, it almost looks like tokens aren't working even though Tokens is supposed to be required by DateReminder.

*Content Type reminder settings are set to "Allowed: On by default"
OK, sounds like a correct setting.

*Reminder dates tab displays "No reminders pending"
That's what I would expect if there aren't actually any reminders pending. (If you're in the view for a particular node, that would only display reminders for that node. As an administrator you should have another tab to view all for that node.) (There's another tab in the user's area that shows all reminders for that user.)

*Content does not display "Requesting reminders" as displayed in screenshot
I'm not sure which screenshot you mean. The screenshots are actually from the D6 version, and may look somewhat different in D7. But I don't find "Requesting reminders" in a screenshot. There's "Requesting a reminder", but that's a heading in the document, not part of the screenshot.

*Configuration dose not allow for resetting of lead times once saved, i.e., changed lead times to two days but now cannot reset to a different lead time, tried setting to 5 days with no time and got "New lead time must be numeric" error.
I'm not sure what you're doing here. If you're talking about the administration screen to set the list of allowed lead times, then yes, you can't change an existing entry, but you can delete any that are there, and add any new ones you want. From the message, it sounds like that's what you're doing. If you want to add a new allowed lead time, but the number in the entry box and the units in the select box below. If you want to want to add "5 days" as an option, enter "5" in the box and select "Days" below.

Note that changing this list won't affect any existing scheduled reminders. (Really all it's doing internally is generating a list of durations in seconds that control the select list used when editing a reminder.) There's no way to change all existing "2 day" reminders to "5 day" for example.

My goal functionality is to have users see the name of their event in calendar, receive emails about each upcoming event in schedule, and unsubscribe if desired. This may be too much to ask, and rules are always an option. To see functionality in action you can create an account @ www.bodyblueprinter.com to test :)
I think DateReminder will do all of this, except each user would have to subscribe to events s/he wanted to be notified of. It sounds like you may be asking for some kind of auto-subscribe capability. That isn't there. What you could do is set up an email distribution list (outside of Drupal itself, I think) then as an administrator set up a reminder to go to that list.

bodyblueprinter’s picture

Thank you for answering my questions. Posting to 7.x-1.4

dwillcox’s picture

Status: Fixed » Closed (fixed)