Template Select

A fieldtype that let you select templates from your entry.

Installation #

  • Download the zip
  • Unzip in your craft/plugins folder
  • Make sure the plugin folder is called templateselect

Usage #

If you want to include a template, you may do it like this in your template:

{% include entry.fieldHandle %}

Limit to subfolder #

By using the config setting templateselectSubfolder, you can limit the list to a subfolder of your templates folder.

In general.php, add this line:

"templateselectSubfolder" => "subfolder"

Releases

1.0.1 — 2016-12-03 Download
  • Improved: Support template paths that are relative
1.0.0 — 2015-12-03 Download
  • Added: Initial release

Currently available for Craft consulting and custom plugin development

Contact me