Custom Template Suggestions (CTS)
Component ID
2341113
Component name
Custom Template Suggestions (CTS)
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
941
Component created
Component changed
Component body
The Custom Template Suggestions module allows theme developers to specify custom node and page templates file names when adding/editing a node in Drupal.
Custom suggestions can be useful when you have multiple nodes that need to share the same template files, but do not have a common path or bundle, or you are trying to use the same template for a node in multiple languages. This can also help you avoid having to hardcode node IDs into a template's code or its name.
Custom templates have the following naming conventions:
Page templates: page--custom--[your-template-here].tpl.php
Node templates: node--custom--[your-template-here].tpl.php
