Index: openacs-4/packages/ecommerce/www/doc/kernel-patches.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/doc/kernel-patches.txt,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ecommerce/www/doc/kernel-patches.txt 20 Apr 2001 20:51:14 -0000 1.1 +++ openacs-4/packages/ecommerce/www/doc/kernel-patches.txt 26 May 2002 04:36:50 -0000 1.2 @@ -10,25 +10,30 @@ ad_returnredirect "/register/index?return_url=[ns_urlencode [ad_conn url]&http_id=$user_id&[ad_conn query]]" -## you will also need to add http_id handling to packages/acs-subsites/www/register/index.tcl and index.adp +## you will also need to add http_id handling to packages/acs-subsite/www/register/index.tcl and index.adp add the following to expected variables for index.tcl.ad_page_contract http_id:optional then add the following to the body of the index.tcl script - if {[info exists http_id]} { - template::query email onevalue "select email from parties where party_id = :http_id" + + if {[info exists http_id]} { + template::query select_email email onevalue "select email from parties where party_id = :http_id" } else { - set http_id "" + set http_id "" } on register/index.adp do the following: change +

Log In

+ to

Secure Log In

+ and after the first
tag (roughly line 11) add +

Please login to our secure server. ## that's it, ofcourse you can customize the template as you wish.