A base MODx Extra template to begin development on
Switch branches/tags
Nothing to show
Clone or download
Latest commit f6642a9 Feb 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_build any fix Feb 2, 2018
assets/components/modextra - New build script. Nov 19, 2017
core/components/modextra any fix Feb 2, 2018
.gitignore New improvements. Apr 14, 2013
README.md any fix Feb 2, 2018
rename_it.php - [#6] Renaming script works in any environment. Nov 19, 2017

README.md

Quick start

  • Install MODX Revolution

  • Upload this package into the Extras directory in the root of site

  • You need to rename it to anyOtherName your package, so enter into SSH console and run

php ~/www/Extras/modExtra/rename_it.php anyOtherName

path on your site may differs

  • Then install it on dev site
php ~/www/Extras/anyOtherName/_build/build.php

Settings

See _build/config.inc.php for editable package options.

All resolvers and elements are in _build path. All files that begins not from . or _ will be added automatically.

If you will add a new type of element, you will need to add the method with that name into build.php script as well.

Build and download

You can build package at any time by opening http://dev.site.com/Extras/anyOtherName/_build/build.php

If you want to download built package - just add ?download=1 to the address.

Example deploy settings