• MODX.com



SwitchTemplate is an extra by jako, first released on 2023-03-20.

Package Description

SwitchTemplate changes the template of a MODX resource on the fly with a request parameter. Different settings with different setting keys could be set in a custom manager page. With each setting a different template could be used to output the resource. As well the template type could be set to chunk or template. If the template type is chunk the resource variables and template variables are prepared as placeholder before the chunk is parsed. The caching of the output of SwitchTemplate could be enabled for each separate setting. The output is cached separate for each resource and each setting. Each setting could be enabled or disabled for selected resources. SwitchTemplate could be used for different purposes: As Ajax connector, as language switcher, ...

Usage/Installation Instructions

MODX Package Management


First seen
Supported databases
Minimum MODX Requirement

SwitchTemplate Releases

Vendor Signature Released on
MODX.com 2.0.0-pl 2023-03-20 (6 months ago)
MODX.com 1.3.3-pl 2022-06-24 (1 year ago)
MODX.com 1.3.2-pl 2022-06-10 (1 year ago)
MODX.com 1.3.1-pl 2022-02-17 (1 year ago)
MODX.com 1.3.0-pl 2022-01-11 (1 year ago)
MODX.com 1.2.5-pl 2020-12-29 (2 years ago)
MODX.com 1.2.4-pl 2020-11-19 (2 years ago)
MODX.com 1.2.3-pl 2019-02-23 (4 years ago)
MODX.com 1.2.2-pl 2018-02-26 (5 years ago)
MODX.com 1.2.1-pl 2017-12-04 (5 years ago)
MODX.com 1.2.0-pl2 2017-09-12 (6 years ago)

We've also seen 1 unverified versions of SwitchTemplate in use, but don't list those as we've been unable of confirming they are official releases from an official source.