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.14.2.8 -r1.14.2.9 --- openacs-4/packages/acs-core-docs/www/tutorial-pages.html 18 Jan 2004 17:07:14 -0000 1.14.2.8 +++ openacs-4/packages/acs-core-docs/www/tutorial-pages.html 18 Jan 2004 18:57:28 -0000 1.14.2.9 @@ -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