V
V
Vadim2016-08-17 08:35:54
JSON
Vadim, 2016-08-17 08:35:54

How to get column layout MIGX TV parameter?

Good afternoon. Please tell me where in the MODX database the markup of the columns of the TV table of the MIGX parameter is stored.
Form tabs:
[
{"caption":"Company departments","fields": [
{"field":"name_department",
"caption":"Department name"
},{
"field":"tel_department",
"caption" :"Phone"
},{
"field":"mail_department",
"caption":"E-mail"
},{
"field":"mode_department",
"caption":"Working mode"
}
]
}]
Column layout:
[
{"header":
{"header": "Phone", "width": "40", "sortable": "false", "dataIndex": "tel_department"},
{"header": "E-mail", "width": " 40", "sortable": "false", "dataIndex": "mail_department"},
{"header": "Working mode", "width": "40", "sortable": "false", "dataIndex": "mode_department"}
]
Found this data here: site_tmplvars table. input_properties field
But the data from there is not decoded by the json_decode function. Why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2016-08-17
@svvadim

Issue resolved. unserialize() takes a single serialized variable and converts it back to a PHP value.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question