Index: openacs-4/packages/acs-templating/tcl/form-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/form-procs.tcl,v diff -u -r1.34 -r1.35 --- openacs-4/packages/acs-templating/tcl/form-procs.tcl 14 May 2007 20:30:27 -0000 1.34 +++ openacs-4/packages/acs-templating/tcl/form-procs.tcl 25 Jul 2007 12:18:04 -0000 1.35 @@ -328,8 +328,13 @@ -default "standard-lars"]] } - set file_stub [template::get_resource_path]/forms/$style - + # Added support for storing form templates outside acs-templating + if {[regexp {^/(.*)} $style path]} { + set file_stub "[acs_root_dir]$path" + } else { + set file_stub [template::get_resource_path]/forms/$style + } + if { ![file exists "${file_stub}.adp"] } { # We always have a template named 'standard' set file_stub "[template::get_resource_path]/forms/standard"