Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/conf
In directory usw-pr-cvs1:/tmp/cvs-serv22637/conf
Modified Files:
action.perl spops.perl
Log Message:
latest updates
Index: action.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/action.perl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** action.perl 2001/10/20 15:12:52 1.2
--- action.perl 2001/10/24 20:55:37 1.3
***************
*** 1,7 ****
$action = {
'page' => {
! 'class' => 'OpenInteract::Handler::BasePage',
! 'security' => 'yes',
! 'directory_index' => [ 'index.html', 'home.html', 'index', 'home' ],
},
--- 1,7 ----
$action = {
'page' => {
! 'class' => 'OpenInteract::Handler::BasePage',
! 'security' => 'yes',
! 'directory_index' => [ 'index.html', 'home.html', 'index', 'home' ],
},
Index: spops.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/spops.perl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** spops.perl 2001/10/20 15:12:52 1.2
--- spops.perl 2001/10/24 20:55:37 1.3
***************
*** 12,21 ****
id_field => 'location',
no_insert => [],
! skip_undef => [],
no_update => [],
base_table => 'page',
! sql_defaults => [],
alias => [ 'static_page', 'basicpage' ],
! has_a => {},
links_to => {},
track => { create => 1, update => 1, remove => 1 },
--- 12,21 ----
id_field => 'location',
no_insert => [],
! skip_undef => [ qw/ template_parse is_active is_file / ],
no_update => [],
base_table => 'page',
! sql_defaults => [ qw/ template_parse is_active is_file / ],
alias => [ 'static_page', 'basicpage' ],
! has_a => { 'OpenInteract::PageContent' => 'location' },
links_to => {},
track => { create => 1, update => 1, remove => 1 },
***************
*** 24,30 ****
object_name => 'Document',
default_storage => 'file',
- content_table => 'page_content',
hierarchy_separator => '/',
hierarchy_field => 'location',
},
};
--- 24,40 ----
object_name => 'Document',
default_storage => 'file',
hierarchy_separator => '/',
hierarchy_field => 'location',
+ },
+ 'page_content' => {
+ class => 'OpenInteract::PageContent',
+ code_class => '',
+ isa => [ qw/ SPOPS::DBI / ],
+ field => [ qw/ location content / ],
+ id_field => 'location',
+ base_table => 'page_content',
+ has_a => { 'OpenInteract::Page' => 'location' },
+ links_to => {},
+ object_name => 'Document',
},
};
|