Template Select plugin for Craft CMS 3.x
A fieldtype that allows you to select a template from the site templates folder., (*1)
, (*2)
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later., (*3)
Installation
To install the plugin, follow these instructions., (*4)
-
Open your terminal and go to your Craft project:, (*5)
cd /path/to/project
-
Then tell Composer to load the plugin:, (*6)
composer require superbig/craft3-templateselect
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Template Select., (*7)
Configuring Template Select
You may limit the template list to a subfolder of the site template folder., (*8)
The path is relative, i.e. subfolder/subfolder2/., (*9)
, (*10)
Using Template Select
If you want to include a template, you may do it like this in your entry template:, (*11)
{% include entry.fieldHandle %}
Brought to you by Superbig, (*12)