openacs_bootstrap5_theme::apm::after_install (private)

 openacs_bootstrap5_theme::apm::after_install

Defined in packages/openacs-bootstrap5-theme/tcl/apm-callback-procs.tcl

Package after installation callback proc. Add our themes, and set the acs-subsite's default master template parameter's default value to our "plain" theme.

Partial Call Graph (max 5 caller/called nodes):
%3 db_transaction db_transaction (public) subsite::new_subsite_theme subsite::new_subsite_theme (public) openacs_bootstrap5_theme::apm::after_install openacs_bootstrap5_theme::apm::after_install openacs_bootstrap5_theme::apm::after_install->db_transaction openacs_bootstrap5_theme::apm::after_install->subsite::new_subsite_theme

Testcases:
No testcase defined.
Source code:

    # Insert this package's themes
    #
    # Note: we are still using jquery -- should be addressed, when we
    # are done with other issues.
    #
    db_transaction {
        subsite::new_subsite_theme  -create_or_replace  -key openacs_bootstrap5  -name #openacs-bootstrap5-theme.tabbed#  -template tabbed-master  -css {
                {-href /resources/acs-subsite/site-master.css -media all -order 0}
                {-href urn:ad:css:bootstrap5 -media all -order 1}
                {-href /resources/openacs-bootstrap5-theme/css/main.css -media all -order 2}
                {-href /resources/openacs-bootstrap5-theme/css/color/grey.css -media all -order 3}
                {-href /resources/acs-templating/forms.css -media all -order 4}
                {-href /resources/acs-templating/lists.css -media all -order 5}
            }  -js {
                {-src urn:ad:js:jquery -order 1}
                {-src urn:ad:js:bootstrap5 -order 2}
            }  -form_template standard  -list_template table  -list_filter_template filters  -dimensional_template dimensional  -resource_dir /packages/openacs-bootstrap5-theme/resources  -streaming_head tabbed-streaming-head

        subsite::new_subsite_theme  -create_or_replace  -key openacs_bootstrap5_turquois  -name #openacs-bootstrap5-theme.tabbed-turquois#  -template tabbed-master-turquois  -css {
                {-href /resources/acs-subsite/site-master.css -media all -order 0}
                {-href urn:ad:css:bootstrap5 -media all -order 1}
                {-href /resources/openacs-bootstrap5-theme/css/main.css -media all -order 2}
                {-href /resources/openacs-bootstrap5-theme/css/color/turquois.css -media all -order 3}
                {-href /resources/acs-templating/forms.css -media all -order 4}
                {-href /resources/acs-templating/lists.css -media all -order 5}
            }  -js {
                {-src urn:ad:js:jquery -order 1}
                {-src urn:ad:js:bootstrap5 -order 2}
            }  -form_template standard  -list_template table  -list_filter_template filters  -dimensional_template dimensional  -resource_dir /packages/openacs-bootstrap5-theme/resources  -streaming_head tabbed-streaming-head-turquois
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: