Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Template Select for Craft

A fieldtype that allows you to select a template from a dropdown.

Install

  • 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"

About

Allows you to select templates for an entry in Craft CMS

Topics

Resources

Packages

No packages published

Languages