• MODX.com

    718 downloads

  • modstore.pro

    75 downloads

xButtons

xButtons is an extra by sergant210, first released on 2015-09-13.

Package Description

It's' a simple MODX Revo Extra that adds new buttons to elements form - "Save on sever", "Load from server", "Save to PC", "Load from PC", "Save properties" and "Load properties". This allows to backup elements in the development of.

If you save an empty file on the server it will be removed.

"Save property" is especially useful for snippets. Properties can be saved on PC. You can load the saved properties into any element not only into the initial one. Or you can write your own properties and load them into new snippet.

Parameters are stored  in JSON format

[["name","desc","type",[options],"value","lexicon",false,"desc_trans","area_trans"],[...]]

For simple properties is enough to specify 3 parameters: name, type and value. For the list type you must specify [options]. Other parameters may be empty ("").

Available types:

  • textarea;
  • numberfield;
  • combo-boolean;
  • textfield;
  • list.

Example.

[["Property1","","textfield",[],"Value1","",false,"",""],  ["Property2","","list",[{"text":"option1","value":"option1"},{"text":"option2","value":"option2"},{"text":"option3","value":"option3"}],"Value2","",false,"",""]]

Feel free to suggest ideas/improvements/bugs on GitHub.

Usage/Installation Instructions

Install via Package Manager.

Details

Developer(s)
sergant210
Released
2015-09-13
First seen
2015-09-13
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.3

xButtons Releases

Vendor Signature Released on
MODX.com 1.1.0-pl 2015-09-13 (3 years ago)