xButtons Icon

xButtons

By Serg Shlokov (sergant210)

xButtons first screenshot

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.

Serg Shlokov


New in xButtons 1.1.0

1.1.0-pl

==============

- Added a system setting "files_path".

1.1.0-beta

==============

- Save and load element properties.

1.0.0-beta

==============

- Initial release

More

Information

Released
September 13, 2015
Supported Versions
2.3 – Current
Downloads
805
License
GPLv2

More from Serg Shlokov

modalConsole

It's a modal console for PHP.

View
siteStatistics

Page and user visits statistics

View
controlErrorLog

Closing the window by clicking on the icon

View
AdminTools

Adds some features for MODX administrators and developers.

View