Index: openacs-4/packages/acs-bootstrap-installer/installer/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/www/blank-master.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-bootstrap-installer/installer/www/blank-master.tcl 17 Dec 2017 20:36:03 -0000 1.4 +++ openacs-4/packages/acs-bootstrap-installer/installer/www/blank-master.tcl 20 Dec 2017 13:37:36 -0000 1.5 @@ -79,8 +79,17 @@ template::add_body_script -type "text/javascript" -src "/resources/acs-subsite/core.js" +# # Add page plugin specific code -callback subsite::page_plugin +# +# The check is transitional code (until the release of OpenACS 5.11 or +# 5.12) and is just upgrading the package from earlier versions, where +# e.g. the blank master is installed before the subsite definitions +# for the page_plugin callback. Templates are required to be very +# robust. +if {[info commands ::callback::subsite::page_plugin::*] ne ""} { + callback subsite::page_plugin +} # # Add CSS for the current subsite, defaulting to the old list/form CSS which was