Index: openacs-4/packages/acs-core-docs/www/tutorial-pages.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-pages.html,v diff -u -r1.19 -r1.20 --- openacs-4/packages/acs-core-docs/www/tutorial-pages.html 18 Feb 2004 14:43:03 -0000 1.19 +++ openacs-4/packages/acs-core-docs/www/tutorial-pages.html 20 Feb 2004 15:13:42 -0000 1.20 @@ -1,8 +1,8 @@ Creating Web Pages

Creating Web Pages

by Joel Aufrecht

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

Install some API

As a workaround for missing content-repository functionality, copy a provided file into the directory for tcl files:

-    cp /var/lib/aolserver/service0/packages/acs-core-docs/www/files/note-procs.tcl /var/lib/aolserver/service0/packages/myfirstpackage/tcl/

To make this file take effect, go to the APM and choose "Reload changed" for "MyFirstPackage".

Build the "Index" page

Each user-visible page in your package has, typically, +

Install some API

As a workaround for missing content-repository functionality, copy a provided file into the directory for tcl files:

+    cp /var/lib/aolserver/service0/packages/acs-core-docs/www/files/note-procs.tcl /var/lib/aolserver/service0/packages/myfirstpackage/tcl/

To make this file take effect, go to the APM and choose "Reload changed" for "MyFirstPackage".

Build the "Index" page

Each user-visible page in your package has, typically, three parts. The tcl file holds the procedural logic for the page, including TCL and database-independent SQL code, and does things like