Now that we know how to manipulate the menus and tabs on our site, and to modify images and page templates in our custom
folder, we will look at how to add extra stylesheets or JavaScripts. The principles here also apply to KSS files, which we will not cover here. Advanced users may also have need of KSS stylesheets (Kinetic Style Sheets) for managing AJAX-like behavior, but we will not cover this or jQuery in this book.
A special tool was created to manage CSS stylesheets, JavaScripts, and KSS stylesheets called Resource Registries (http://plone.org/documentation/tutorial/working-with-resourceregistries), which consists of portal_css, portal_javascripts
, and portal_kss
in the ZMI. These registries give the option of consolidating multiple style or JavaScript files into a single cached file, which causes them to load faster when a site is in production. Putting your portal_css
or portal_javascripts
into debug mode turns off this merging...