OpenACS docs are written by the named authors, and may be edited
by OpenACS documentation staff.
Goals
Learn about the OpenACS templating system.
Learn about subsites and site-map administration.
Introduction
@@ -9,8 +10,8 @@
Before proceeding, it is strongly advised to read the templating documentation on your openacs installation (http://localhost:8000/doc/acs-templating). The documentation lists the special tags available for ADP files.
Exercise 1: Create a Subsite
Create a subsite called pset3.
A subsite is simply a directory or subdirectory mounted at the end of your domain name. This can be done in one of two places:
http://localhost:8000/admin/site-map
or the subsite admin form on the main site, which is available when you login to your OpenACS installation.
Exercise 2: Checkout and Install edit-this-page (ETP)
Checkout ETP from CVS:
cd ~/openacs/packages
cvs -d:pserver:anonymous@openacs.org:/cvsroot login
- cvs -d:pserver:anonymous@openacs.org:/cvsroot co edit-this-page
Go to the package manager at http://yoursite/acs-admin/apm. And install the new package: edit-this-page.
Or use the "Add Application" form available on the Main site.
Change ETP Application
Work out how to change the ETP application.
Investigate each of the available ETP templates:
Default
News
FAQ
Exercise 4: Create a New ETP Template
Browse the files for each of the above ETP templates at:
cd ~/openacs/packages/edit-this-page/templates
Use the article template as the basis of our new col2 template.
cp article-content.adp col2-content.adp
+ cvs -d:pserver:anonymous@openacs.org:/cvsroot co edit-this-page
Go to the package manager at http://yoursite/acs-admin/apm. And install the new package: edit-this-page.
Or use the "Add Application" form available on the Main site.
Change ETP Application
Work out how to change the ETP application.
Investigate each of the available ETP templates:
Default
News
FAQ
Exercise 4: Create a New ETP Template
Browse the files for each of the above ETP templates at:
cd ~/openacs/packages/edit-this-page/templates
Use the article template as the basis of our new col2 template.