Index: openacs-4/packages/acs-subsite/acs-subsite.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/acs-subsite.info,v diff -u -r1.74.2.2 -r1.74.2.3 --- openacs-4/packages/acs-subsite/acs-subsite.info 14 Jun 2005 15:28:30 -0000 1.74.2.2 +++ openacs-4/packages/acs-subsite/acs-subsite.info 15 Jun 2005 17:57:05 -0000 1.74.2.3 @@ -7,7 +7,7 @@ t f - + OpenACS Subsite 2004-04-29 @@ -16,11 +16,12 @@ GPL 3 - + + - + @@ -31,6 +32,7 @@ + @@ -50,6 +52,7 @@ 3 - Show user email as an image (require ImageMagick). If ImageMagick not present then the @ symbol is replaced with an image. 2 - Hide email, show a link that allows users to send a message. 1 - Shows nothing." section_name="user-info"/> + Index: openacs-4/packages/acs-subsite/lib/user-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/user-new.tcl,v diff -u -r1.10.2.1 -r1.10.2.2 --- openacs-4/packages/acs-subsite/lib/user-new.tcl 10 Jun 2005 18:42:52 -0000 1.10.2.1 +++ openacs-4/packages/acs-subsite/lib/user-new.tcl 15 Jun 2005 17:57:34 -0000 1.10.2.2 @@ -41,8 +41,11 @@ # Redirect to the registration assessment if there is one, if not, continue with the regular # registration form. -set url [callback -catch -impl url user::registration] +set implName [parameter::get -parameter "RegImplName" -package_id [subsite::main_site_id]] + +set url [callback -catch -impl "$implName" user::registration] + if { ![empty_string_p $url] } { ad_returnredirect "$url" } Index: openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl 4 Jun 2005 18:26:01 -0000 1.4.2.1 +++ openacs-4/packages/acs-subsite/tcl/apm-callback-procs.tcl 15 Jun 2005 17:57:35 -0000 1.4.2.2 @@ -35,6 +35,14 @@ content::folder::register_content_type -folder_id $folder_id -content_type "email_image" } + 5.2.0a1 5.2.0a2 { + set value [parameter::get -parameter "AsmForRegisterId" -package_id [subsite::main_site_id]] + if {[empty_string_p $value]} { + apm_parameter_register "AsmForRegisterId" "Assessment used on the registration process." "acs-subsite" "0" "number" "user-login" + } + apm_parameter_register "RegImplName" "Name of the implementation used in the registration process" "acs-subsite" "asm_url" "string" "user-login" + + } } }