I'm running MODX Revolution 2.2.6-pl (traditional) on the MODX Cloud.
I was reading the official documentation:
"As of 2.2.0, you can simply add a "static" Snippet: just reference the static file."
So I tried. I have a PHP script with the file extension *.php. (for now it doesn't matter what it is for). I created under Files within the MODX Manage a new directory (Create Directory) where I wanted to upload my PHP file. Attempting this I was told "php file extension is not permitted" and the upload didn't happen.
Given that a snippet is raw PHP-code,
how can I use a static snippet?
And how do I get into the file system?
How do I have to name it? (file extension?)
Is there any place in the documentation where I find which file extension are permitted and which aren't?
Can anybody tell me more about static snippets use?
Thanks so much in advance
kdmeloper