Skip to content

Instantly share code, notes, and snippets.

@artemsites
Last active August 9, 2018 12:33
Show Gist options
  • Save artemsites/853e45c73ac23382d7aa6ddaac614083 to your computer and use it in GitHub Desktop.
Save artemsites/853e45c73ac23382d7aa6ddaac614083 to your computer and use it in GitHub Desktop.
Пример поля MIGX в MODx Revolutoin
Tabs:
[
{"caption":"Tab Title", "fields": [
{"field":"title","caption":"Name"},
{"field":"description","caption":"Description","inputTVtype":"textarea"},
{"field":"imageTV","caption":"Photo","inputTV":"imageTV"}
]}
]
Table:
[
{"header": "Name", "sortable": "true", "dataIndex": "title"},
{"header": "Photo", "width": "80", "sortable": "false", "dataIndex": "imageTV","renderer": "this.renderImage"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment