• MODX.com

    1,065 downloads

  • modstore.pro

    43 downloads

ForceTemplate

ForceTemplate is an extra by kudashevs, first released on 2018-09-18.

Package Description

MODx Revolution plugin which force set of given template for all newly created resources in given parents. Component allows find duplicated parent ids in rules. If non-existent template is given in rules the log message will be generated and new document will get parent template.

Usage/Installation Instructions

After installation use System settings forcetemplate namespace to set preferable settings values.

Usage example: Determine the desired parent and the level of nesting, if there is a desire to use it. The default nesting level is 1. In System settings choose forcetemplate namespace and fill the field with rules (rules). For example, we need to set two rules:

  • There is a parent with id 3 with 1-st level of nesting and a template with id 1, then you need to specify 3:1.
  • There is a parent with id 4 with nesting level 5 and the template "my template" (lazy to look for id), then you need to specify: 4:my template:5.

To combine these rules and use them together, combine them via pipe (|) or double pipe (||).

Details

Developer(s)
kudashevs
Released
2018-09-18
First seen
2018-09-18
License
GPLv2
Supported databases
Minimum MODX Requirement
2.3

ForceTemplate Releases

Vendor Signature Released on
modstore.pro 1.0.3-pl 2018-09-19 (7 years ago)
MODX.com 1.0.3-pl 2018-09-18 (7 years ago)
MODX.com 1.0.2-pl 2018-09-18 (7 years ago)
MODX.com 1.0.1-pl 2018-09-18 (7 years ago)