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.6 -r1.14.2.7 --- openacs-4/packages/acs-core-docs/www/tutorial-pages.html 18 Dec 2003 10:04:27 -0000 1.14.2.6 +++ openacs-4/packages/acs-core-docs/www/tutorial-pages.html 11 Jan 2004 12:45:48 -0000 1.14.2.7 @@ -1,8 +1,8 @@ -Creating Web Pages

Creating Web Pages

by Joel Aufrecht

+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/service1/packages/acs-core-docs/www/files/note-procs.tcl /var/lib/aolserver/service1/packages/myfirstpackage/tcl/

To make this file take effect, go to the APM and choose "Reload all files" 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/service1/packages/acs-core-docs/www/files/note-procs.tcl /var/lib/aolserver/service1/packages/myfirstpackage/tcl/

To make this file take effect, go to the APM and choose "Reload all files" 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