Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -N -r1.368 -r1.368.2.1 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 5 Feb 2019 18:16:53 -0000 1.368 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 21 Feb 2019 16:12:58 -0000 1.368.2.1 @@ -1645,6 +1645,14 @@ # a. "adp_compile" / "adp_eval" # b. "return_page" / "adp_include" # + # Force xowiki css to be loaded first(ish), so we can override + # its styling via the theme (e.g. different buttons...). This + # currently needs template:: api directly, as resources from + # requireCSS might be (and normally are) loaded later than those + # from the theme, as often doesn't use requireCSS. + # ::xo::Page requireCSS urn:ad:css:xowiki + template::head::add_css -href urn:ad:css:xowiki -order 0 + ## ::xo::Page requireCSS urn:ad:css:xowiki if {$footer ne ""} { template::add_body_script -script {