Index: openacs-4/packages/bboard-portlet/bboard-portlet.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/bboard-portlet/bboard-portlet.info,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/bboard-portlet/bboard-portlet.info 19 Jan 2002 18:31:24 -0000 1.6
+++ openacs-4/packages/bboard-portlet/bboard-portlet.info 20 Jan 2002 19:19:23 -0000 1.7
@@ -26,6 +26,8 @@
+
+
Index: openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 10 Jan 2002 00:13:04 -0000 1.18
+++ openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 20 Jan 2002 19:20:11 -0000 1.19
@@ -90,6 +90,16 @@
[portal::add_element $portal_template_id \
[calendar_portlet::my_name]]
+ # Add the admin portlet, too
+ set admin_portal_id \
+ [dotlrn_community::get_community_admin_portal_id $community_id]
+
+ calendar_admin_portlet::make_self_available $admin_portal_id
+
+ set element_id \
+ [portal::add_element $admin_portal_id \
+ [calendar_admin_portlet::my_name]]
+
# set the group_calendar_id parameter in the portal template,
portal::set_element_param \
$element_id "group_calendar_id" $group_calendar_id
Index: openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl,v
diff -u -r1.13 -r1.14
--- openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl 11 Jan 2002 21:51:46 -0000 1.13
+++ openacs-4/packages/dotlrn-dotlrn/tcl/dotlrn-dotlrn-procs.tcl 20 Jan 2002 19:19:27 -0000 1.14
@@ -70,6 +70,10 @@
dotlrn_portlet::make_self_available $pt_id
dotlrn_portlet::add_self_to_page $pt_id $community_id
+ # set up the DS for the admin page
+ set admin_portal_id [dotlrn_community::get_community_admin_portal_id $community_id]
+ dotlrn_admin_portlet::make_self_available $admin_portal_id
+ dotlrn_admin_portlet::add_self_to_page $admin_portal_id $community_id
return $community_id
}
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.15 -r1.16
--- openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl 10 Jan 2002 17:09:54 -0000 1.15
+++ openacs-4/packages/dotlrn-faq/tcl/dotlrn-faq-procs.tcl 20 Jan 2002 19:19:36 -0000 1.16
@@ -64,6 +64,11 @@
faq_portlet::make_self_available $pt_id
faq_portlet::add_self_to_page $pt_id $package_id
+ # set up the DS for the admin page
+ set admin_portal_id [dotlrn_community::get_community_admin_portal_id $community_id]
+ faq_admin_portlet::make_self_available $admin_portal_id
+ faq_admin_portlet::add_self_to_page $admin_portal_id $package_id
+
# Set up some permissions
# for FAQ, it's all good as is
Index: openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl 10 Jan 2002 17:10:34 -0000 1.10
+++ openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl 20 Jan 2002 19:19:32 -0000 1.11
@@ -64,6 +64,11 @@
news_portlet::make_self_available $pt_id
news_portlet::add_self_to_page $pt_id $package_id
+ # set up the DS for the admin portal
+ set admin_portal_id [dotlrn_community::get_community_admin_portal_id $community_id]
+ news_admin_portlet::make_self_available $admin_portal_id
+ news_admin_portlet::add_self_to_page $admin_portal_id $package_id
+
return $package_id
}