• MODX.com

    5,852 downloads

phpTemplates

phpTemplates is an extra by fi1osof, first released on 2012-11-30.

Package Description

This MODX Extra allow  to use template with php-code.

Just create new phpTemplateResource, and all static modTemplates with extension .php will be includes like pure php-files.

Project on  GitHub: https://github.com/Fi1osof/phptemplates

Usage/Installation Instructions

Just create static template with php-code (with php-extension of static file, like .php) and change modResource to phpTemplateResource.

Attension! If you used verion minor that 1.4.0, you may recive in page output 1. Remember: in static modTemplate return $output; required.

Details

Developer(s)
fi1osof
Released
2012-12-06
First seen
2012-11-30
License
GPLv2
Supported databases
Minimum MODX Requirement
2.2

phpTemplates Releases

Vendor Signature Released on
MODX.com 1.5.2-beta 2012-12-06 (11 years ago)

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