Maybe I'm missing something, but I can't find anything to click to subscribe to a specific event. I know that the functionality is there, because if I type in the url manually I can subscribe.
I get the impression that there should be a "Remind me about this event" link on this page: http://frankinstitute.cea.wsu.edu/node/2
If you type in the url, it works: http://frankinstitute.cea.wsu.edu/remindme/node/2
Sorry to bug you, but what am I missing?
Comments
Comment #1
binford2k commentedOK, I tracked it down. The event module now recommends using flexinode to create event types, but if you do, the $node->type is 'flexinode', not 'event'. This patch *should* fix it, but I haven't tested it with a non-flexinode setup.
# diff -u remindme.module.orig remindme.module
--- remindme.module.orig 2005-10-12 01:29:12.332143464 -0700
+++ remindme.module 2005-10-12 01:29:02.111697208 -0700
@@ -32,7 +32,10 @@
function remindme_link($type, $node = 0, $main = 0) {
switch ($type) {
case 'node':
- if ($node->type == 'event' && user_access('set reminders')) {
+ $ctype = module_invoke('flexinode', 'load_content_type', substr($node->type, 10));
+ $node->typename = ($ctype->name ? $ctype->name : $node->type);
+
+ if ($node->typename == 'event' && user_access('set reminders')) {
$links[] =l(t('remind me!'), "remindme/node/$node->nid", array('title' => t('Remind me of this event.')));
}
break;
Comment #2
tiendoan commentedI just noticed this functionality missing and went looking for the answer and found this. Thanks for this patch.
Regards
Comment #3
killes@www.drop.org commentedhas been fixed, get latest version.
Comment #4
(not verified) commented