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 -N -r1.2 -r1.3 --- openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl 12 Nov 2001 05:05:42 -0000 1.2 +++ openacs-4/packages/dotlrn-news/tcl/dotlrn-news-procs.tcl 26 Nov 2001 22:41:51 -0000 1.3 @@ -49,9 +49,14 @@ # create the news 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] - # set package_id [site_node_mount_application -return package_id $node_id $package_key $package_key $package_key] - # return the package_id + # portal template stuff + set pt_id [dotlrn_community::get_portal_template_id $community_id] + + # set up the DS for the portal template + news_portlet::make_self_available $pt_id + news_portlet::add_self_to_page $pt_id $package_id + return $package_id }