Customizing AT View Templates
This Tutorial applies to:
Any version.
This Tutorial is intended for:
Integrators, Customizers
fmay
All content on one page (useful for printing, presentation mode etc.)
- Introduction Goals, Pre-Requisites, and Tools
- What Makes It Tick? This page describes how Archetypes uses different templates to generate HTML, and how AT-based template customization can be applied.
- Customizing Widgets This page shows you how to customize widgets, and gives some examples of what kinds of neat tricks can be done with widget customization.
- Total Control: The View Template This page describes how you can control every portion of the HTML output in the content area by creating a custom view template.
- Conclusion Some final notes about customizing Archetypes view templates
- Reference A reference for customizing Archetypes view templates
"Customizig labels" not compatible with Plone 2.5.2
The part about overriding the label template doesn't work (anymore) in Plone 2.5.2.
Also defining a css macro might not be best pratice anymore with the advent of the resource registry.
Maybe this tutotrial should be integrated with the AT developers guide?
(http://plone.org/documentation/manual/archetypes-developer-manual)
Search macros
Using widgets through "search" macros is no longer maintained. There are also issues with Archetypes.ArchetypeTool.getSearchWidgets().