subsite::refresh_theme_subsites (public)
subsite::refresh_theme_subsites [ -theme theme ] [ -include_modified ]
Defined in packages/acs-subsite/tcl/subsite-procs.tcl
Reload theme subsite parameters from defaults on every subsite currently using specified theme. This might be used, for example, in upgrade callbacks for themes if desired behavior is to upgrade all subsites using it without manual intervention. By default this proc will not refresh locally modified templates.
- Switches:
- -theme (optional)
- theme key to lookup for
- -include_modified (optional, boolean)
- force reload also for locally modified templates
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api
Source code: set unmodified_p [expr {$include_modified_p ? false : true}] foreach subsite_id [subsite::get_theme_subsites -theme $theme -unmodified=$unmodified_p] { subsite::set_theme -subsite_id $subsite_id -theme $theme }XQL Not present: Generic PostgreSQL XQL file: packages/acs-subsite/tcl/subsite-procs-postgresql.xql
Oracle XQL file: packages/acs-subsite/tcl/subsite-procs-oracle.xql