Index: openacs-4/packages/news-portlet/tcl/news-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news-portlet/tcl/news-portlet-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/news-portlet/tcl/news-portlet-procs.tcl 19 Nov 2001 15:24:02 -0000 1.5 +++ openacs-4/packages/news-portlet/tcl/news-portlet-procs.tcl 1 Dec 2001 23:19:03 -0000 1.6 @@ -31,19 +31,19 @@ } ad_proc -public add_self_to_page { - page_id + portal_id community_id } { Adds a news PE to the given page with the community_id. @return element_id The new element's id - @param page_id The page to add self to + @param portal_id The page to add self to @param community_id The community with the folder @author arjun@openforce.net @creation-date Sept 2001 } { # Tell portal to add this element to the page - set element_id [portal::add_element $page_id [my_name]] + set element_id [portal::add_element $portal_id [my_name]] # The default param "community_id" must be configured set key "community_id" @@ -125,7 +125,7 @@ } { Removes a news PE from the given page - @param page_id The page to remove self from + @param portal_id The page to remove self from @param community_id @author arjun@openforce.net @creation-date Sept 2001 @@ -142,29 +142,29 @@ } ad_proc -public make_self_available { - page_id + portal_id } { Wrapper for the portal:: proc - @param page_id + @param portal_id @author arjun@openforce.net @creation-date Nov 2001 } { portal::make_datasource_available \ - $page_id [portal::get_datasource_id [my_name]] + $portal_id [portal::get_datasource_id [my_name]] } ad_proc -public make_self_unavailable { - page_id + portal_id } { Wrapper for the portal:: proc - @param page_id + @param portal_id @author arjun@openforce.net @creation-date Nov 2001 } { portal::make_datasource_unavailable \ - $page_id [portal::get_datasource_id [my_name]] + $portal_id [portal::get_datasource_id [my_name]] } }