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.46 -r1.47 --- openacs-4/packages/acs-core-docs/www/tutorial-pages.html 8 Nov 2017 09:42:12 -0000 1.46 +++ openacs-4/packages/acs-core-docs/www/tutorial-pages.html 25 Apr 2018 08:38:28 -0000 1.47 @@ -6,22 +6,22 @@

by Joel Aufrecht

</authorblurb> -

Install some API

+

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

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

-

Page Map

+

Page Map

Our package will have two visible pages. The first shows a list of all objects; the second shows a single object in view or edit mode, and can also be used to add an object. The index page will display the list, but since we might reuse the list later, we'll put it in a separate file and include it on the index page.

-

Figure 9.5. Page Map

+

Figure 9.5. Page Map

Page Map

-

Build the "Index" page

+

Build the "Index" page

Each user-visible page in your package has, typically, three parts. The tcl file @@ -186,7 +186,7 @@ ad_returnredirect "." # stop running this code, since we're redirecting -abort +ad_script_abort # Local variables: # mode: tcl