Extras catalogue
Include snippet
Latest release 15 years ago (March 24, 2011).
include
About
This very simple but useful snippet for including external snippets and other external php files.
All you need is folder core/snippets/ with your php code, for example mysnippet.php. Now you can call your snippet from anywhere on your site: [[include? &snippet=`mysnippet`]] (without ".php")
Also you can include any file from any other place in your site:
[[include? &file=`any/other/placr/mysnippet.php`]]
Installation & usage
Install via Package Management. After that, you will find snippet "include" in left elements tree in snippets in "include" category. Create folder core/snippets/ and injoy!
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer unglued
- Latest release March 24, 2011 (15 years ago)
- First seen in SiteDash March 23, 2011 (15 years ago)
- License GPLv2
- MODX support 2 – 2.1
- Databases MySQL
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-pl |
March 24, 2011
15 years ago |
|
|
<p>Initial content</p>
|
|||
|
No matching releases. |
|||