Forum OpenACS Development: Re: Notifications tutorial

Collapse
Posted by Jade Rubick on
The survey package seems to have an implementation of the get_url function.

For some reason, notifications are silently failing for me. I've tried many permutations:

set subject "subject"
set notification_text "Text"
set user_id [ad_conn user_id]

notification::new -type_id [notification::type::get_type_id -short_name task_added_notif] -object_id $user_id -response_id $user_id -notif_subject $subject -notif_text $notification_text

set object_id [return_object_id_of_a_task_in_project_manager]

notification::new -type_id [notification::type::get_type_id -short_name task_added_notif] -object_id $object_id -response_id $object_id -notif_subject $subject -notif_text $notification_text

notification::new -type_id [notification::type::get_type_id -short_name task_added_notif] -object_id $object_id -response_id null -notif_subject $subject -notif_text $notification_text

All fail silently. What am I doing wrong?

Collapse
Posted by Jade Rubick on