Index: openacs-4/packages/dotlrn/dotlrn.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/dotlrn.info,v diff -u -r1.125.2.2 -r1.125.2.3 --- openacs-4/packages/dotlrn/dotlrn.info 29 Mar 2007 19:20:57 -0000 1.125.2.2 +++ openacs-4/packages/dotlrn/dotlrn.info 30 Mar 2007 03:26:21 -0000 1.125.2.3 @@ -7,14 +7,14 @@ f f - + OpenACS A Course Management System 2006-12-31 OpenACS Course Management - + @@ -28,6 +28,7 @@ + Index: openacs-4/packages/dotlrn/install.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/install.xml,v diff -u -r1.14.2.1 -r1.14.2.2 --- openacs-4/packages/dotlrn/install.xml 22 Mar 2007 09:04:20 -0000 1.14.2.1 +++ openacs-4/packages/dotlrn/install.xml 30 Mar 2007 03:26:21 -0000 1.14.2.2 @@ -20,12 +20,26 @@ + + + + + + + + + + + - + + + - + + Index: openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl,v diff -u -r1.5.2.1 -r1.5.2.2 --- openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl 29 Mar 2007 02:35:32 -0000 1.5.2.1 +++ openacs-4/packages/dotlrn/tcl/apm-callback-procs.tcl 30 Mar 2007 03:26:21 -0000 1.5.2.2 @@ -56,7 +56,10 @@ } # Get the default Site Template - set site_template_id [db_string select_st_id "select site_template_id from dotlrn_site_templates where pretty_name = '#new-portal.sloan_theme_name#'"] + set default_template_name [parameter::get \ + -package_id $package_id \ + -parameter DefaultSiteTemplate] + set site_template_id [db_string select_st_id {}] # for communities parameter::set_value -package_id $package_id \ Index: openacs-4/packages/dotlrn/tcl/apm-callback-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/tcl/apm-callback-procs.xql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/dotlrn/tcl/apm-callback-procs.xql 29 Mar 2007 02:35:32 -0000 1.1.2.1 +++ openacs-4/packages/dotlrn/tcl/apm-callback-procs.xql 30 Mar 2007 03:26:21 -0000 1.1.2.2 @@ -2,6 +2,14 @@ + + + select site_template_id + from dotlrn_site_templates + where pretty_name = :default_template_name + + + select default_value Index: openacs-4/packages/theme-zen/tcl/apm-callback-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/tcl/apm-callback-procs.xql,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/theme-zen/tcl/apm-callback-procs.xql 23 Jan 2007 01:54:19 -0000 1.1.2.3 +++ openacs-4/packages/theme-zen/tcl/apm-callback-procs.xql 30 Mar 2007 03:26:21 -0000 1.1.2.4 @@ -8,7 +8,7 @@ insert into dotlrn_site_templates (site_template_id, pretty_name, site_master, portal_theme_id ) values - (:site_template_id, 'Zen Theme', '/packages/theme-zen/lib/lrn-master', + (:site_template_id, '#theme-zen.Zen_Theme#', '/packages/theme-zen/lib/lrn-master', :theme_id)