Index: openacs-4/packages/acs-templating/www/doc/install.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/install.adp,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/acs-templating/www/doc/install.adp 3 Sep 2021 09:15:55 -0000 1.4.2.1 +++ openacs-4/packages/acs-templating/www/doc/install.adp 13 Jul 2023 12:48:33 -0000 1.4.2.2 @@ -19,9 +19,11 @@

Obtaining the distribution

To install the templating system, download and unpack the tar file under your page root:

-
$ wget http://bob.sf.arsdigita.com:8089/ats/ats.tar.gz
+
+$ wget http://bob.sf.arsdigita.com:8089/ats/ats.tar.gz
 $ cd /web/myserver/www
-$ gunzip -c ats.tar.gz | tar xvf -
+$ gunzip -c ats.tar.gz | tar xvf - +

The distribution consists of four subdirectories:

  1. @@ -45,19 +47,23 @@ installation (as indicated by the Library parameter in the ns/server/myserver/tcl section of the AOLserver configuration file):

    -
    $ cd /web/myserver/tcl
    -$ ln -s <path_to_distribution>/ats/tcl/ ats
    +
    +$ cd /web/myserver/tcl
    +$ ln -s <path_to_distribution>/ats/tcl/ ats
    +

    Configuring AOLserver

    The last step is to modify your AOLserver configuration file. You will need to register the templating system as a Tcl-only module:

    -
    [ns/server/myserver/modules]
    +
    +[ns/server/myserver/modules]
     nssock=nssock.so
     nslog=nslog.so
     ats=Tcl
     

    or if you are using the new configuration file format:

    -
    ns_section "ns/server/${server}/modules"
    +
    +ns_section "ns/server/${server}/modules"
     ns_param   nssock          nssock.so
     ns_param   nslog           nslog.so
     ns_param   ats          Tcl
    @@ -67,12 +73,14 @@
     private Tcl library.

    You will also need to ensure that the "fancy" ADP parser is the default:

    -
    [ns/server/yourserver/adp]
    +
    +[ns/server/yourserver/adp]
     Map=/*.adp
     DefaultParser=fancy
     
     [ns/server/yourserver/adp/parsers]
    -fancy=.adp
    +fancy=.adp +

    Optional Configuration

    The templating system recognizes two optional parameters in the AOLserver configuration file in the