Index: openacs-4/packages/acs-templating/tcl/list-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/list-procs.tcl,v diff -u -r1.26 -r1.26.2.1 --- openacs-4/packages/acs-templating/tcl/list-procs.tcl 25 Apr 2005 13:29:19 -0000 1.26 +++ openacs-4/packages/acs-templating/tcl/list-procs.tcl 22 Jul 2005 00:36:23 -0000 1.26.2.1 @@ -1094,9 +1094,13 @@ # Thus, we need to do the dynamic columns above before this step set __adp_output [template -name $name -style $style] - # compile the template (this is the second compilation, if we're using a dynamic template -- I think) - set __list_code [template::adp_compile -string $__adp_output] + # set __adp_stub so includes work. Only fully qualified includes will work with this + set __list_code { + set __adp_stub "" + } + append __list_code [template::adp_compile -string $__adp_output] + # Paginator if { $list_properties(page_size_variable_p) == 1 } { template::util::list_to_multirow page_sizes {{name 10 value 10} {name 20 value 20} {name 50 value 50} {name 100 value 100}}