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.8 -r1.3.2.9 --- openacs-4/packages/acs-templating/www/doc/migration.adp 1 Dec 2015 11:18:00 -0000 1.3.2.8 +++ openacs-4/packages/acs-templating/www/doc/migration.adp 9 Jun 2016 13:03:12 -0000 1.3.2.9 @@ -8,10 +8,10 @@

In a Nutshell

When templatizing a legacy tcl page, your task is to -separate +separate code and graphical presentation. The latter goes into an ADP file; it contains essentially HTML, augmented by a few -special tags and the \@variable\@ +special tags and the \@variable\@ construct. The code goes into a Tcl script. In other words, a templated page consists of two files, a Tcl part that puts its results in data @@ -246,12 +246,12 @@ context_bar:onevalue subsite_id:onevalue subsite:multirow -item:multirow +item:multirow footer:onevalue }   -......... +.........
 append body "
@@ -288,7 +288,7 @@
 </ul>
 "
 
-db_multirow item
+db_multirow item
  news_items_select {
     select news_item_id, title
     from news_items_obj
@@ -303,7 +303,7 @@
 <ul>
 
 
-<multiple name=item>
+<multiple name=item>
 
 
 
@@ -313,11 +313,11 @@
 
   <li><a href=
       "item-view?news_item_id=<%
-      %>\@item.news_item_id\@"
-      >\@item.title\@</a>
+      %>\@item.news_item_id\@"
+      >\@item.title\@</a>
 </multiple>
 
-<if \@item:rowcount\@ eq 0>
+<if \@item:rowcount\@ eq 0>
   <li>There are
   currently no news items
   available.
@@ -380,7 +380,7 @@
 }
 
  -......... +.........