Personal tools
You are here: Home Documentation Tutorials Using the Resource Registries to control CSS and Javascript
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Using the Resource Registries to control CSS and Javascript

This Tutorial applies to: Plone 2.5.x, Plone 2.1.x
This Tutorial is intended for: Site Administrators, Integrators, Customizers, Developers

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.

elvix

All content on one page (useful for printing, presentation mode etc.)

  1. Why do we even have these registries? Why were the Resource Registries written, what do they do, and why are they useful?
  2. 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
  3. Conditions, merging, caching and debugging some more details on how the ResourceRegistries function
  4. Resource parameters The parameters for a registry entry in the CSS (and Javascript) registry.
  5. 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.
 
by Geir Baekholt last modified December 31, 2006 - 00:03 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by