Skip to main content

Checkup Documentation

Ad-hoc page templates

severity-low cms-pagetemplate-adhoc-templates

Summary

Ad-hoc templates (portal mode sites only) are non-reusable templates intended for temporary use. Having templates that are not reusable can cause duplication of efforts, clutter, and possibly performance concerns. Generally, ad-hoc templates should be reviewed and either moved to a regular page template or deleted.

Besides being non-reusable, ad-hoc templates have another limitation in that they are directly tied to the page they are created on. That means that, if that page gets deleted, so does the ad-hoc template. For these reasons best practice is to make all templates permanent resuable templates. This applies to even one-off pages who's templates will never be reused such as your home page or 404 page.


Check Logic

Constant Care for Kentico will ensure the number of ad-hoc templates is no more than 0 (default)

You can manage your settings for this checkup in the Constant Care for Kentico admin settings.


Resolution

To determine what templates on your site are Ad-hoc you can navigate to the Page Templates Application.

page-templates-1.png

Kentico Xperience will automatically put Ad-hoc templates into the Ad-hoc template category.

Another indicator is the No value in the Is reusable column when viewing all templates. We recommend not using Ad-hoc templates except as temporary tools during development.

Not sure what to do?

If you are ever unsure about making changes to your site, we encourage you to reach out to your Kentico Xperience Gold Partner. If you do not have a partner, then feel free contact the Constant Care For Kentico team to get connected with an expert.