apm install modx-revolution
##Features
####Snippets
Snippets for Template Tags in .html & .tpl, modX and xPDO Class methods in .php.
####Descriptions & Documentation links
Each modX and xPDO class has a description and link to a full documentation.
####Autocomplete & Syntax Highlighting
To enable syntax highlighting, switch to HTML (MODX) syntax.
####Theme and Transport Package scaffolding
Open Command Palette and search for MODX Revolution
. There is two options available:
Transport Package template (modExtra) originally developed by Shaun McCormick. Please, read the modExtra documentation before using it. There is also a relevant page at MODX RTFM.
####MODX Installation
The purpose of this is to provide fast and easy method for installing MODX locally without leaving the editor.
Requirements
git
*php
** Both should be available in your PATH.
date.timezone must be set in php.ini.
How To
Install MODX
Install
and wait for the success message. Then, open localhost/path/to/modx/manager in your browser.Run Build
and install MODX via localhost/path/to/modx/setup.How it works
MODX Git Installation docs
MODX CLI Installation docs
NOTE: This one is still in beta. If you found any bugs, please, submit an issue.
###Snippet Triggers
Snippet | Trigger | Scope |
---|---|---|
$modx-> | $ |
.text.html.php |
$xpdo-> | $p |
.text.html.php |
MODX_API_MODE | mapi |
.text.html.php |
&property=`value` | & |
.text.html.basic |
:filter=`value` | : |
.text.html.basic |
@propertyset | @ |
.text.html.basic |
[[*tag]] | mt |
.text.html.basic |
MODX_API_MODE
define('MODX_API_MODE', true);
require_once('/path/to/index.php');
$modx = new modX();
$modx->initialize('mgr');
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.