|
From: Chris W. <la...@us...> - 2001-10-20 15:12:55
|
Update of /cvsroot/openinteract/OpenInteract/pkg/base_page/conf
In directory usw-pr-cvs1:/tmp/cvs-serv12970/conf
Modified Files:
action.perl spops.perl
Log Message:
updated config
Index: action.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/action.perl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** action.perl 2001/10/17 12:10:51 1.1
--- action.perl 2001/10/20 15:12:52 1.2
***************
*** 1,28 ****
$action = {
! 'basepage' => {
'class' => 'OpenInteract::Handler::BasePage',
'security' => 'yes',
!
! # The next three items are used in the new version of
! # the handler
!
! # What should we try on directory requests or when we
! # don't find an object?
!
! 'object_home_name' => 'home',
!
! # What should we try on directory requests or when we
! # don't find a file?
!
! 'filesystem_home_name' => 'index.html',
!
! # Storage preference. Choices are:
! # 'object', 'filesystem', 'both-object', 'both-filesystem'
! #
! # The entry with the 'both' items is what we should
! # try first -- try fetching the object first with 'both-object'
! # and the filesystem file first with 'both-filesystem'.
!
! 'storage' => 'both-object',
},
--- 1,7 ----
$action = {
! 'page' => {
'class' => 'OpenInteract::Handler::BasePage',
'security' => 'yes',
! 'directory_index' => [ 'index.html', 'home.html', 'index', 'home' ],
},
***************
*** 31,36 ****
'weight' => 4,
'title' => 'Document Info',
! 'template' => 'edit_document_box',
! 'package' => 'static_page',
'security' => 'no',
},
--- 10,14 ----
'weight' => 4,
'title' => 'Document Info',
! 'template' => 'static_page::edit_document_box',
'security' => 'no',
},
Index: spops.perl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/pkg/base_page/conf/spops.perl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** spops.perl 2001/10/17 12:10:51 1.1
--- spops.perl 2001/10/20 15:12:52 1.2
***************
*** 1,12 ****
$spops = {
! 'basicpage' => {
! class => 'OpenInteract::BasicPage',
! code_class => 'OpenInteract::BasicPage',
isa => [ qw/ OpenInteract::SPOPS::DBI
SPOPS::Secure::Hierarchy
SPOPS::Utility SPOPS::DBI / ],
field => [ qw/ location directory title author keywords
! active_on expires_on boxes main_template
! is_file / ],
column_group => {},
id_field => 'location',
--- 1,12 ----
$spops = {
! 'page' => {
! class => 'OpenInteract::Page',
! code_class => [ 'OpenInteract::Page' ],
isa => [ qw/ OpenInteract::SPOPS::DBI
SPOPS::Secure::Hierarchy
SPOPS::Utility SPOPS::DBI / ],
field => [ qw/ location directory title author keywords
! boxes main_template mime_type
! active_on expires_on is_active is_file / ],
column_group => {},
id_field => 'location',
***************
*** 14,28 ****
skip_undef => [],
no_update => [],
! base_table => 'basic_page',
sql_defaults => [],
! alias => [ 'static_page' ],
has_a => {},
links_to => {},
track => { create => 1, update => 1, remove => 1 },
! display => { url => '/BasicPage/show/' },
name => 'title',
object_name => 'Document',
! storage => 'filesystem',
! db_table => 'basic_page_content',
hierarchy_separator => '/',
hierarchy_field => 'location',
--- 14,28 ----
skip_undef => [],
no_update => [],
! base_table => 'page',
sql_defaults => [],
! alias => [ 'static_page', 'basicpage' ],
has_a => {},
links_to => {},
track => { create => 1, update => 1, remove => 1 },
! display => { url => '/Page/show/' },
name => 'title',
object_name => 'Document',
! default_storage => 'file',
! content_table => 'page_content',
hierarchy_separator => '/',
hierarchy_field => 'location',
|