Index: openacs-4/packages/acs-templating/www/doc/tagref/variable.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/tagref/variable.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-templating/www/doc/tagref/variable.adp 7 Aug 2017 23:48:03 -0000 1.4 +++ openacs-4/packages/acs-templating/www/doc/tagref/variable.adp 25 Apr 2018 08:42:18 -0000 1.5 @@ -13,22 +13,17 @@
Simple variables are referenced by surrounding the variable name with "commercial at" (\@) signs:
--<!-- simple variables --> -<b><i>\@first_name\@ \@last_name\@</b></i> -+
<!-- simple variables --> +<b><i>\@first_name\@ \@last_name\@</b></i>
When processing this template, the server will look for variables named first_name and last_name and substitute their values in the output:
--<b><i>Fred Finkel</b></i> -+
<b><i>Fred Finkel</b></i>
The columns of a row variable are referenced by separating the data source name and column with a period:
<!-- onerow or multirow data sources --> -<b><i>\@user.first_name\@ \@user.last_name\@</b></i> -+<b><i>\@user.first_name\@ \@user.last_name\@</b></i>
An attempt to reference a variable that does not exist will cause an error message to appear in the browser.