install::xml::action::set-theme (public)
install::xml::action::set-theme node
Defined in packages/acs-tcl/tcl/install-procs.tcl
Sets a theme for a subsite. If no subsite is specified it defaults to the main subsite "/". Valid themes are e.g. "openacs_bootstrap5", "openacs_bootstrap3", "default_plain", or default "tabbed".
<set-theme theme="theme" [ package="subsite ]
- Parameters:
- node (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: variable ::install::xml::ids set theme [apm_required_attribute_value $node theme] set subsite [apm_attribute_value -default "/" $node subsite] # # Get subsite_id from "subsite" path # set subsite_id [site_node::get_object_id -node_id [site_node::get_node_id -url $subsite]] subsite::set_theme -subsite_id $subsite_id -theme $themeXQL Not present: Generic, PostgreSQL, Oracle