O'Reilly logo

Plone 3 Products Development Cookbook by Marcos F. Romero, Juan Pablo Giménez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing Zope 3 browser templates and files

Zope 2 skin layers, covered earlier, have a big drawback: all resources in skin layers are available all over the Plone site, even if they were intended for specific objects.

Besides, and what can be even worse, somebody could create an object (a news item, for instance) in a folder with the exact same ID as a skin resource, preventing it (preventing the skin resource) being available throughout the folder structure: Zope acquisition machinery returns a direct attribute, if it exists (the news item), instead of the skin resource.

Fortunately, with the advent of Plone 3 and its wholesale use of Zope 3 techniques, the use of skin layers has been discouraged in favor of Zope 3 browser components: views, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required