subsite::update_subsite_theme (public)
subsite::update_subsite_theme -key key -name name -template template \ [ -css css ] [ -js js ] [ -form_template form_template ] \ [ -list_template list_template ] \ [ -list_filter_template list_filter_template ] \ [ -dimensional_template dimensional_template ] \ [ -resource_dir resource_dir ] [ -streaming_head streaming_head ] \ [ -local_p local_p ]
Defined in packages/acs-subsite/tcl/subsite-procs.tcl
Update the default theming parameters in the database
- Switches:
- -key (required)
- -name (required)
- -template (required)
- -css (optional)
- -js (optional)
- -form_template (optional)
- -list_template (optional)
- -list_filter_template (optional)
- -dimensional_template (optional)
- -resource_dir (optional)
- -streaming_head (optional)
- -local_p (optional, defaults to
"false"
)- Author:
- Gustaf Neumann
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api
Source code: # the following line is for Oracle compatibility set local_p [expr {$local_p ? "t" : "f"}] db_dml update { update subsite_themes set name = :name, template = :template, css = :css, js = :js, form_template = :form_template, list_template = :list_template, list_filter_template = :list_filter_template, dimensional_template = :dimensional_template, resource_dir = :resource_dir, streaming_head = :streaming_head, local_p = :local_p where key = :key }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