Use Cases
Real-world scenarios where Canvas Override adds value to your Drupal site.
Overview
Canvas Override is most useful when certain pages need unique layouts while most content follows a standard template. Below are common scenarios where per-content layouts solve real problems.
Landing Pages
Scenario: Your marketing team needs campaign-specific landing pages with unique hero sections, call-to-action blocks, and custom component arrangements.
How Canvas Override helps:
- Enable Canvas Override on the "Landing page" content type.
- Create a default ContentTemplate with a standard layout.
- Override individual landing pages with campaign-specific designs.
- Other landing pages continue using the default template.
- When a campaign ends, reset the override to revert to the default.
Benefit: Marketers get full creative freedom on specific pages without affecting the rest of the site.
Featured Articles
Scenario: Most articles use the same layout, but featured or longform articles need a different presentation with full-width images, pull quotes, and custom section arrangements.
How Canvas Override helps:
- Enable Canvas Override on the "Article" content type.
- The standard template serves regular articles automatically.
- Editors open the Canvas tab on featured articles to create unique layouts.
- When an article is no longer featured, reset it to the default.
Benefit: No need to create separate content types for different article styles. One content type, flexible layouts.
Product Pages
Scenario: An e-commerce site has a standard product layout, but seasonal promotions or flagship products need enhanced presentations.
How Canvas Override helps:
- Enable Canvas Override on the "Product" content type.
- Standard products use the ContentTemplate default.
- Promotional products get custom layouts with additional components (countdown timers, comparison tables, video sections).
- After the promotion ends, reset the layout.
Benefit: Promotional layouts are temporary and easy to manage without affecting other products.
Event Pages
Scenario: Recurring events use a standard format, but annual conferences or special events need custom layouts with speaker grids, schedule components, and sponsor sections.
How Canvas Override helps:
- Enable Canvas Override on the "Event" content type.
- Regular events use the default layout.
- Special events get per-content layouts with event-specific components.
Benefit: Standard events remain low-maintenance while special events get the visual treatment they deserve.
Homepage and Key Pages
Scenario: The homepage needs a completely custom layout that doesn't match any other page of the same content type.
How Canvas Override helps:
- The homepage content gets its own Canvas layout.
- Other content of the same type is unaffected.
- The homepage layout can be updated independently of the default template.
Benefit: One-off pages are easy to manage without creating dedicated content types.
A/B Testing Layouts
Scenario: The team wants to test different page layouts to see which performs better.
How Canvas Override helps:
- Create a per-content layout on the test page with a new design.
- Measure performance against control group pages using the default layout.
- If the new layout wins, update the ContentTemplate default.
- Reset the test page override.
Benefit: Test layout changes on individual pages without risk to the rest of the site.
Content Type Migration
Scenario: You are redesigning a content type's layout but want to migrate content gradually rather than all at once.
How Canvas Override helps:
- Update the ContentTemplate to the new layout design.
- Content that still needs the old layout gets a per-content override preserving it.
- As content is reviewed and updated, reset overrides to adopt the new default.
- When migration is complete, all overrides are cleared.
Benefit: Gradual rollout with full control over which pages get the new layout first.
Per-Team Editorial Control
Scenario: Different editorial teams manage different content types. You want the events team to customise event layouts without touching article layouts.
How Canvas Override helps:
- Grant "Use Canvas Override for Event" to the events team role.
- Grant "Use Canvas Override for Article" to the articles team role.
- Each team can only override layouts for their own content types.
Benefit: Teams work independently with clear boundaries. See Permissions for setup details.
Best Practices
-
Start with a strong default template. A well-designed ContentTemplate reduces the number of overrides needed.
-
Use overrides sparingly. Too many per-content layouts create maintenance overhead. Reserve them for pages that truly need unique presentations.
-
Reset when done. After a promotion, campaign, or event ends, reset the layout to reduce complexity.
-
Use per-bundle permissions. Limit who can create overrides to prevent layout inconsistency across the site.
-
Document overrides. Keep track of which pages have per-content layouts so the team knows what to update when the default template changes.
-
Review regularly. Periodically check which content items have overrides and whether they are still needed.
Next Steps
- Edit a per-content layout — Step-by-step editing guide
- Configure permissions — Control who can create overrides
- Installation — Get started if you haven't already