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 -N -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/install.adp 7 Aug 2017 23:48:02 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/install.adp 25 Apr 2018 08:42:17 -0000 1.4 @@ -19,11 +19,9 @@
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:
-$ cd /web/myserver/tcl -$ ln -s <path_to_distribution>/ats/tcl/ ats -+
$ cd /web/myserver/tcl +$ ln -s <path_to_distribution>/ats/tcl/ ats
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=Tclor 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 @@ -73,14 +67,12 @@ 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=.adpOptional Configuration
The templating system recognizes two optional parameters in the AOLserver configuration file in the