Using the Resource Registries to control CSS and Javascript
Plone has two neat tools for managing Cascading Stylesheets and Javascript in a handy way. This tutorial explains some whys and hows and even has a minimal practical example of how it works.
- Why do we even have these registries? Why were the Resource Registries written, what do they do, and why are they useful?
- Overview and example walkthrough Basic operations of the CSS-and Javascript-registries – and a truly minimal example of how to use them in real life
- Conditions, merging, caching and debugging some more details on how the ResourceRegistries function
- Resource parameters The parameters for a registry entry in the CSS (and Javascript) registry.
- Using Resource Registries programmatically Instructions for controlling the CSS and Javascript registries programmatically instead of through the user-interface. This is especially relevant for product authors or for crating file-system-based site-configuration products.
All content on one page (useful for printing, presentation mode etc.)
