Build reusable template variants.
Template variants is a set of advanced configuration possibilities built into OpenCms to customize generic templates like the standard template Mercury.
If you start building an OpenCms website, you usually do not start from scratch but you further develop an existing modular template.
Modular templates save time and money. Though, by reaching the widest possible circle of users, they sometimes tend to provide too much choices and functionality for individual projects.
Also, there is probably no website project that has requirements not going beyond those of the modular template.
With template variants, you reach a higher degree of compatibility. You can update to the latest Mercury version at any time while at the same time developing your own customizations.
Topics
- Master Configuration Chaining
Use chaining techniques to combine, reduce, extend, or vary definitions in sitemap master configurations.
- Element Setting Overrides
Vary the display of content elements provided by your template by granular overriding shared element settings.
- Site Plugins
Extend a template with site-specific frontend functionality.
- Add Content Restrictions
Restrict pre-prepared contents such as page layouts provided by a template.
- Sitemap attributes
Make widgets, element settings and formatter behavior configurable via the sitemap.