Index: openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl 26 Nov 2001 22:35:21 -0000 1.6 +++ openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl 30 Nov 2001 18:12:57 -0000 1.7 @@ -43,8 +43,16 @@ ad_proc -public add_applet { community_id } { - Add the faq applet + Add the faq applet to dotlrn - one time init } { + return + } + + ad_proc -public add_applet_to_community { + community_id + } { + Add the faq applet to a specifc community + } { # create the calendar package instance (all in one, I've mounted it) set package_key [package_key] set package_id [dotlrn::instantiate_and_mount $community_id $package_key] @@ -79,8 +87,17 @@ community_id user_id } { - Add a user to a community + For one time user-specfic init } { + return + } + + ad_proc -public add_user_to_community { + community_id + user_id + } { + Called when a user is added to a specific dotlrn community + } { # Get the page_id by callback set page_id [dotlrn_community::get_page_id $community_id $user_id]