|
4 registered users in last 24 hours Installing the ]po[ Customer PortalInstalling on ]po[ Version 4.x 1) Make sure you have installed the following packages and "cvs update" them if necessary:
2) CVS update /packages/intranet-core/www/images
cd /web/projop/packages/intranet-core/www/images cvs update -dPA 3) Create a symbolic link to the SENCHA libs:
cd /web/projop/www/ ln -s ../packages/intranet-sencha/www/resources/ ./resources
3) CVS update /packages/intranet-core/www/js
cd /web/projop/packages/intranet-core/www/js cvs update -dPA
Installing on ]po[ Version 3.5 As always: Please perform a backup of the DB and the web/projop/packages folder before any new installation.
su - projop cd /web/projop/packages/ cvs checkout -r HEAD intranet-customer-portal 2.) Checkout package "intranet-sencha" cd /web/projop/packages/ cvs checkout -r HEAD intranet-sencha 3) Use Package Manager to install both packages:
http://[YOUR_SERVER]/acs-admin/apm/ When prompted: Requires intranet-core of version >= 4.0.1.0.0. please check: "Force the install" 4) Create a symbolic link to the SENCHA libs:
cd /web/projop/www/ ln -s ../packages/intranet-sencha/www/resources/ ./resources 5) cvs update file intranet-design-procs
cd /web/projop/packages/intranet-core/tcl/ cp intranet-design-procs.tcl intranet-design-procs.tcl.bak cvs update -r b3-5-0-patches intranet-design-procs.tcl Note:
if {[llength [info procs im_list_financial_documents_component]]} {
append html "<link rel=StyleSheet type=text/css href=\"/intranet-sencha/css/ext-all.css\" />\n"
append html "<link rel=StyleSheet type=text/css href=\"/intranet-customer-portal/intranet-customer-portal.css\" />\n"
append html "<link rel=StyleSheet type=text/css href=\"/intranet-customer-portal/resources/css/BoxSelect.css\" />\n"
append html "<script language='javascript' src='http://www.project-open.org/intranet-sencha/js/ext-all.js'></script>\n"
append html "<script language='javascript' src='http://www.project-open.org/intranet-customer-portal/resources/js/BoxSelect.js'></script>\n"
}
right before line:
if {$openacs54_p} { template::head::add_css -href $system_css -media "screen" -order "6" } else { append html "<link rel=StyleSheet type=text/css href=\"$system_css\" media=screen>\n" }
6) Update style.saltnpepper.css from CVS HEAD
It should be rather unproblematic for to use the most recent version of the SALTNPEPPER skin also for version 3.5:
cd /web/projop/packages/intranet-core/www/style cp style.saltnpepper.css style.saltnpepper.css.bak cvs update -dPA style.saltnpepper.css 7) Patch /web/projop/packages/intranet-core/www/projects/view.tcl
Before patch:
After patch:
if {$execution_project_enabled_p && [im_permission $current_user_id add_projects]} {
8) Patch /web/projop/packages/intranet-invoices/www/new-2.tcl
if {!$invoice_exists_p} {
# Let's create the new invoice
set invoice_id [db_exec_plsql create_invoice ""]
# Audit the creation of the invoice
im_audit -object_type "im_invoice" -object_id $invoice_id -action after_create -status_id $cost_status_id -type_id $cost_type_id
}
# Check if the cost item was changed via outside SQL
im_audit -object_type "im_invoice" -object_id $invoice_id -action before_update
After:
if {!$invoice_exists_p} {
# Let's create the new invoice
set invoice_id [db_exec_plsql create_invoice ""]
# Audit the creation of the invoice
im_audit -object_type "im_invoice" -object_id $invoice_id -action after_create -status_id $cost_status_id -type_id $cost_type_id
}
# Give company_contact_id READ permissions - required for Customer Portal
permission::grant -object_id $invoice_id -party_id $company_contact_id -privilege "read"
# Check if the cost item was changed via outside SQL
im_audit -object_type "im_invoice" -object_id $invoice_id -action before_update
cd /web/projop/packages/intranet-core/www/images cvs update -r HEAD help_12_12.gif 9) CVS update /packages/intranet-core/www/js/jquery.min.js
cd /web/projop/packages/intranet-core/www/js cvs update -r HEAD jquery.min.js
ConfigurationThe following steps are necessary to configure the package:
Troubleshooting
Tutorial
|
