Index: openacs-4/packages/edit-this-page/www/etp-setup-2-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/etp-setup-2-oracle.xql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/edit-this-page/www/etp-setup-2-oracle.xql 17 Nov 2001 19:48:47 -0000 1.3
+++ openacs-4/packages/edit-this-page/www/etp-setup-2-oracle.xql 9 Jan 2004 01:53:13 -0000 1.4
@@ -14,7 +14,21 @@
end;
-
+
+
+
+ select
+ content_folder.register_content_type(:folder_id,'content_revision','t')
+
+
+
+
+
+ select
+ content_folder.register_content_type(:folder_id,'content_folder','f')
+
+
+
select acs_object.name(:package_id) as title from dual
Index: openacs-4/packages/edit-this-page/www/etp-setup-2-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/etp-setup-2-postgresql.xql,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/edit-this-page/www/etp-setup-2-postgresql.xql 4 Apr 2003 15:59:38 -0000 1.3
+++ openacs-4/packages/edit-this-page/www/etp-setup-2-postgresql.xql 9 Jan 2004 01:53:13 -0000 1.4
@@ -7,7 +7,22 @@
select content_folder__new(:name, :title, '', coalesce(etp__get_folder_id(:parent_package_id), NULL));
-
+
+
+
+ select
+ content_folder__register_content_type(:folder_id,'content_revision','t')
+
+
+
+
+
+ select
+ content_folder__register_content_type(:folder_id,'content_folder','f')
+
+
+
+
select acs_object__name(:package_id) as title
Index: openacs-4/packages/edit-this-page/www/etp-setup-2.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/etp-setup-2.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/edit-this-page/www/etp-setup-2.tcl 24 Sep 2001 17:24:13 -0000 1.1
+++ openacs-4/packages/edit-this-page/www/etp-setup-2.tcl 9 Jan 2004 01:53:13 -0000 1.2
@@ -40,6 +40,8 @@
db_transaction {
set folder_id [db_exec_plsql create_folder ""]
+ db_exec_plsql register_types ""
+ db_exec_plsql register_folders ""
db_dml set_folder_package ""
etp::make_page "index" $title
}