Index: openacs-4/packages/acs-templating/www/doc/migration.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.adp,v diff -u -r1.3.2.12 -r1.3.2.13 --- openacs-4/packages/acs-templating/www/doc/migration.adp 7 Nov 2016 19:23:16 -0000 1.3.2.12 +++ openacs-4/packages/acs-templating/www/doc/migration.adp 22 Apr 2017 18:33:51 -0000 1.3.2.13 @@ -7,7 +7,7 @@ : Migration
At the end of the Tcl script, you should call
-ad_return_template
. The template runs after the tcl
+ad_return_template
. The template runs after the Tcl
script, and can use these data sources.
Make sure that the fancy adp parser is enabled in your AOL ini file.
@@ -40,11 +40,11 @@ns_puts
, ns_write
etc., which don't
wait till the headers are written or the page is completed; they
-may act differently than you expect.<%
-%>
in the adp page.<%
+%>
in the adp page.<include>
d from several pages.
-Prefer this to writing a tcl proc that returns HTML.Nuts \$2.70 \[<a href="\"shoppe\">buy</a>\] @@ -65,7 +65,7 @@ panes fit next to each other and to line up corresponding code.
- old tcl code new +old Tcl code new packages/news/www/item-view.tcl
packages/news/www/item-view.adp
@@ -215,7 +215,7 @@ module that uses the mechanism, not a whole page.
- old tcl code new +old Tcl code new packages/news/www/index.tcl
packages/news/www/index.adp
@@ -353,11 +353,11 @@ own multirow variable. In the excert below, taken from /pvt/alerts.tcl and /pvt/alerts.adp, the foreach logic made it hard to use the db_multirow because it needed a combination of the -output from sql and also the output of tcl procedures using that +output from sql and also the output of Tcl procedures using that value.
- old tcl code new +old Tcl code new packages/acs-core-ui/www/pvt/alerts.tcl
packages/acs-core-ui/www/pvt/alerts.adp