Index: openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl 19 Nov 2001 14:59:48 -0000 1.13 +++ openacs-4/packages/faq-portlet/tcl/faq-portlet-procs.tcl 1 Dec 2001 23:18:44 -0000 1.14 @@ -31,20 +31,20 @@ } ad_proc -public add_self_to_page { - page_id + portal_id package_id } { Adds a faq PE to the given page with the package_id being opaque data in the portal configuration. @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 package_id the id of the faq package for this community @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 "package_id" must be configured set key "package_id" @@ -121,7 +121,7 @@ } { Removes a faq PE from the given page - @param page_id The page to remove self from + @param portal_id The page to remove self from @param package_id @author arjun@openforce.net @creation-date Sept 2001 @@ -138,29 +138,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]] } }