About Add Template Enhancements

Some efficiency enhancements when adding or cloning a template.

Category Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authorrobin-s
Module Version0.1.1
Class NameAddTemplateEnhancements
Compatibility3.0
Date AddedSeptember 27, 2018
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/AddTemplateEnhancements/
How to install or uninstall modules

README

Add Template Enhancements

A module for ProcessWire CMS/CMF. Adds some efficiency enhancements when adding or cloning templates via admin.

2018-09-27_171722

Features

  • Derive label from name when new template added: if you like to give each of your templates a label then this feature can save some time. The label can be added automatically when templates are added in admin, in admin/API, or not at all. There are options for underscore/hyphen replacement and capitalisation of the label.
  • Edit template after add: when adding only a single template, the template is automatically opened for editing after it is added.
  • Copy field contexts when cloning: this copies the field contexts (a.k.a. overrides such as column width, label and description) from the source template to the new template when using the "Duplicate/clone this template?" feature on the Advanced tab.
  • Copy field contexts when duplicating fields: this copies the field contexts if you select the "Duplicate fields used by another template" option when adding a new template.

Usage

Install the Add Template Enhancements module.

Configure the module settings according to what suits you.

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.