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):
%3 test_subsite_api subsite_api (test acs-subsite) subsite::update_subsite_theme subsite::update_subsite_theme test_subsite_api->subsite::update_subsite_theme db_dml db_dml (public) subsite::update_subsite_theme->db_dml packages/acs-subsite/www/admin/themes/view.tcl packages/acs-subsite/ www/admin/themes/view.tcl packages/acs-subsite/www/admin/themes/view.tcl->subsite::update_subsite_theme subsite::new_subsite_theme subsite::new_subsite_theme (public) subsite::new_subsite_theme->subsite::update_subsite_theme subsite::save_theme_parameters subsite::save_theme_parameters (private) subsite::save_theme_parameters->subsite::update_subsite_theme

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

[ hide source ] | [ make this the default ]
Show another procedure: