{"id":196396,"date":"2013-10-04T23:45:03","date_gmt":"2013-10-04T19:45:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=196396"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=196396","title":{"rendered":"<span class=\"post_title\">\u0413\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 (\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432) \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e MIGXDB<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/89f\/6a5\/23a\/89f6a523a7d1aba8c7e210e33065638f.png\"\/>\u041d\u0435 \u0443\u0441\u0442\u0430\u044e \u0443\u0434\u0438\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"http:\/\/modx.com\/extras\/package\/migx\">MIGX<\/a> \u043e\u0442 <a href=\"https:\/\/github.com\/Bruno17\">Bruno17<\/a> \u0434\u043b\u044f <b>MODX Revolution<\/b>. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u043d \u043f\u043e\u043a\u0430 \u043d\u0435\u043a\u0430\u0437\u0438\u0441\u0442\u043e \u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043e\u0447\u043a\u0438, \u043d\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0412\u0441\u0451, \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0438 <b>2.5.8-pl<\/b> (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442).<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 MIGX \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f <a href=\"http:\/\/rtfm.modx.com\/extras\/revo\/migx\/migx.backend-usage\">\u0444\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u0439<\/a>, \u043d\u043e \u044d\u0442\u0438\u043c \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u042d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043b\u044e\u0431\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u0411\u0414. \u041c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 (\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 MODX) \u0432 \u043b\u044e\u0431\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435. \u041e\u0431 \u044d\u0442\u043e\u043c \u0438 \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041a\u043e\u0435 \u0447\u0442\u043e \u044f \u0443\u0437\u043d\u0430\u043b \u0438\u0437 <a href=\"http:\/\/rtfm.modx.com\/extras\/revo\/migxdb\/migxdb.tutorials\/migxdb.manage-child-resources-in-a-grid-tv-with-help-of-migxdb\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 MIGDB<\/a>, \u043d\u043e, \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u044f\u043b, \u043e\u043d\u0430 \u0443\u0436\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u043c \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0442\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  <br clear=\"all\"\/>  \u042f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/806\/da3\/edd\/806da3edd276862e30713d4e0051fb80.png\"\/><\/p>\n<p>  1. \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u00ab\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b\u00bb -&gt; \u00abMIGX\u00bb. \u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u00abMIGX\u00bb. \u041d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u00bb.<br \/>  2. \u041d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u00abSettings\u00bb \u0432\u0432\u0435\u0441\u0442\u0438 \u0438\u043c\u044f (Name) \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u00abchild_resources\u00bb. \u041d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u00bb.<br \/>  <i>\u041c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0447\u0442\u043e \u0433\u0434\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u0438 \u043a\u0443\u0434\u0430 \u0447\u0442\u043e \u0432\u0432\u0435\u0441\u0442\u0438, \u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0449\u0435. \u042f \u0434\u0430\u043c \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e, \u0430 \u0432\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u043f\u043e\u0434 \u0441\u0435\u0431\u044f.<\/i><br \/>  3. \u041a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043c\u044b\u0448\u0438 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0435 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u00ab\u042d\u043a\u0441\u043f\u043e\u0440\u0442\/\u0418\u043c\u043f\u043e\u0440\u0442\u00bb.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/c0a\/2e7\/779\/c0a2e77796c48fca02fdb34204fb8e5f.png\"\/><br \/>  \u0412 \u043f\u043e\u043b\u0435 \u0432 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043e\u043a\u043d\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 JSON \u043c\u0430\u0441\u0441\u0438\u0432:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0442\u043a\u0440\u044b\u0442\u044c<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">{      &quot;formtabs&quot;:[         {             &quot;MIGX_id&quot;:1,             &quot;caption&quot;:&quot;\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435&quot;,             &quot;print_before_tabs&quot;:&quot;0&quot;,             &quot;fields&quot;:[                 {                     &quot;MIGX_id&quot;:1,                     &quot;field&quot;:&quot;pagetitle&quot;,                     &quot;caption&quot;:&quot;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:10,                     &quot;field&quot;:&quot;alias&quot;,                     &quot;caption&quot;:&quot;\u041f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:6,                     &quot;field&quot;:&quot;introtext&quot;,                     &quot;caption&quot;:&quot;\u041a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;textarea&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:7,                     &quot;field&quot;:&quot;image&quot;,                     &quot;caption&quot;:&quot;\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;image&quot;,                     &quot;inputTVtype&quot;:&quot;&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:4,                     &quot;field&quot;:&quot;price&quot;,                     &quot;caption&quot;:&quot;\u0426\u0435\u043d\u0430&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;price&quot;,                     &quot;inputTVtype&quot;:&quot;&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:5,                     &quot;field&quot;:&quot;context_key&quot;,                     &quot;caption&quot;:&quot;\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;listbox&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;catalog||web&quot;,                     &quot;default&quot;:&quot;catalog&quot;                 },                 {                     &quot;MIGX_id&quot;:2,                     &quot;field&quot;:&quot;template&quot;,                     &quot;caption&quot;:&quot;\u0428\u0430\u0431\u043b\u043e\u043d&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;hidden&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:5                 },                 {                     &quot;MIGX_id&quot;:8,                     &quot;field&quot;:&quot;show_in_tree&quot;,                     &quot;caption&quot;:&quot;\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u0434\u0435\u0440\u0435\u0432\u0435?&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;listbox&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;no==0||yes==1&quot;,                     &quot;default&quot;:&quot;&quot;                 },                 {                     &quot;MIGX_id&quot;:9,                     &quot;field&quot;:&quot;published&quot;,                     &quot;caption&quot;:&quot;\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;hidden&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:1                 }             ]         },         {             &quot;MIGX_id&quot;:2,             &quot;caption&quot;:&quot;\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;,             &quot;print_before_tabs&quot;:&quot;0&quot;,             &quot;fields&quot;:[                 {                     &quot;MIGX_id&quot;:1,                     &quot;field&quot;:&quot;content&quot;,                     &quot;caption&quot;:&quot;\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435&quot;,                     &quot;description&quot;:&quot;&quot;,                     &quot;description_is_code&quot;:&quot;0&quot;,                     &quot;inputTV&quot;:&quot;&quot;,                     &quot;inputTVtype&quot;:&quot;richtext&quot;,                     &quot;configs&quot;:&quot;&quot;,                     &quot;sourceFrom&quot;:&quot;config&quot;,                     &quot;sources&quot;:&quot;[]&quot;,                     &quot;inputOptionValues&quot;:&quot;&quot;,                     &quot;default&quot;:&quot;&quot;                 }             ]         }     ],     &quot;contextmenus&quot;:&quot;recall_remove_delete&quot;,     &quot;actionbuttons&quot;:&quot;addItem||bulk||toggletrash&quot;,     &quot;columnbuttons&quot;:&quot;update||publish||unpublish||recall_remove_delete&quot;,     &quot;filters&quot;:[         {             &quot;MIGX_id&quot;:1,             &quot;name&quot;:&quot;search&quot;,             &quot;label&quot;:&quot;search&quot;,             &quot;emptytext&quot;:&quot;\u041f\u043e\u0438\u0441\u043a...&quot;,             &quot;type&quot;:&quot;textbox&quot;,             &quot;getlistwhere&quot;:{                 &quot;pagetitle:LIKE&quot;:&quot;%[[+search]]%&quot;,                 &quot;OR:longtitle:LIKE&quot;:&quot;%[[+search]]%&quot;,                 &quot;OR:content:LIKE&quot;:&quot;%[[+search]]%&quot;             },             &quot;getcomboprocessor&quot;:&quot;&quot;,             &quot;combotextfield&quot;:&quot;&quot;,             &quot;comboidfield&quot;:&quot;&quot;,             &quot;comboparent&quot;:&quot;&quot;,             &quot;default&quot;:&quot;&quot;         }     ],     &quot;extended&quot;:{         &quot;migx_add&quot;:&quot;\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c&quot;,         &quot;formcaption&quot;:&quot;\u0414\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441&quot;,         &quot;update_win_title&quot;:&quot;&quot;,         &quot;win_id&quot;:&quot;child_resources&quot;,         &quot;maxRecords&quot;:&quot;&quot;,         &quot;addNewItemAt&quot;:&quot;bottom&quot;,         &quot;multiple_formtabs&quot;:&quot;&quot;,         &quot;extrahandlers&quot;:&quot;&quot;,         &quot;packageName&quot;:&quot;&quot;,         &quot;classname&quot;:&quot;modResource&quot;,         &quot;task&quot;:&quot;resconnections&quot;,         &quot;getlistsort&quot;:&quot;id&quot;,         &quot;getlistsortdir&quot;:&quot;desc&quot;,         &quot;use_custom_prefix&quot;:&quot;0&quot;,         &quot;prefix&quot;:&quot;&quot;,         &quot;grid&quot;:&quot;&quot;,         &quot;gridload_mode&quot;:1,         &quot;check_resid&quot;:&quot;0&quot;,         &quot;check_resid_TV&quot;:&quot;&quot;,         &quot;join_alias&quot;:&quot;&quot;,         &quot;has_jointable&quot;:&quot;yes&quot;,         &quot;getlistwhere&quot;:&quot;&quot;,         &quot;joins&quot;:&quot;&quot;,         &quot;cmpmaincaption&quot;:&quot;&quot;,         &quot;cmptabcaption&quot;:&quot;&quot;,         &quot;cmptabdescription&quot;:&quot;&quot;,         &quot;cmptabcontroller&quot;:&quot;&quot;,         &quot;winbuttons&quot;:&quot;&quot;,         &quot;onsubmitsuccess&quot;:&quot;&quot;,         &quot;submitparams&quot;:&quot;&quot;     },     &quot;columns&quot;:[         {             &quot;MIGX_id&quot;:1,             &quot;header&quot;:&quot;ID&quot;,             &quot;dataIndex&quot;:&quot;id&quot;,             &quot;width&quot;:50,             &quot;sortable&quot;:true,             &quot;show_in_grid&quot;:1,             &quot;renderer&quot;:&quot;&quot;,             &quot;clickaction&quot;:&quot;&quot;,             &quot;selectorconfig&quot;:&quot;&quot;,             &quot;renderchunktpl&quot;:&quot;&quot;,             &quot;renderoptions&quot;:&quot;[]&quot;         },         {             &quot;MIGX_id&quot;:2,             &quot;header&quot;:&quot;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&quot;,             &quot;dataIndex&quot;:&quot;pagetitle&quot;,             &quot;width&quot;:300,             &quot;sortable&quot;:true,             &quot;show_in_grid&quot;:1,             &quot;renderer&quot;:&quot;this.renderRowActions&quot;,             &quot;clickaction&quot;:&quot;&quot;,             &quot;selectorconfig&quot;:&quot;&quot;,             &quot;renderchunktpl&quot;:&quot;&quot;,             &quot;renderoptions&quot;:&quot;[]&quot;         },         {             &quot;MIGX_id&quot;:3,             &quot;header&quot;:&quot;\u0426\u0435\u043d\u0430&quot;,             &quot;dataIndex&quot;:&quot;price&quot;,             &quot;width&quot;:100,             &quot;sortable&quot;:true,             &quot;show_in_grid&quot;:1,             &quot;renderer&quot;:&quot;&quot;,             &quot;clickaction&quot;:&quot;&quot;,             &quot;selectorconfig&quot;:&quot;&quot;,             &quot;renderchunktpl&quot;:&quot;&quot;,             &quot;renderoptions&quot;:&quot;[]&quot;         },         {             &quot;MIGX_id&quot;:4,             &quot;header&quot;:&quot;\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d&quot;,             &quot;dataIndex&quot;:&quot;published&quot;,             &quot;width&quot;:100,             &quot;sortable&quot;:&quot;false&quot;,             &quot;show_in_grid&quot;:1,             &quot;renderer&quot;:&quot;this.renderCrossTick&quot;,             &quot;clickaction&quot;:&quot;&quot;,             &quot;selectorconfig&quot;:&quot;&quot;,             &quot;renderchunktpl&quot;:&quot;&quot;,             &quot;renderoptions&quot;:&quot;[]&quot;         },         {             &quot;MIGX_id&quot;:5,             &quot;header&quot;:&quot;\u0423\u0434\u0430\u043b\u0435\u043d&quot;,             &quot;dataIndex&quot;:&quot;deleted&quot;,             &quot;width&quot;:&quot;&quot;,             &quot;sortable&quot;:&quot;false&quot;,             &quot;show_in_grid&quot;:&quot;0&quot;,             &quot;renderer&quot;:&quot;&quot;,             &quot;clickaction&quot;:&quot;&quot;,             &quot;selectorconfig&quot;:&quot;&quot;,             &quot;renderchunktpl&quot;:&quot;&quot;,             &quot;renderoptions&quot;:&quot;[]&quot;         }     ]  } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0413\u043e\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438.<br \/>  4. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 <b>\/core\/components\/migx\/configs\/grid\/grid.child_resources.config.inc.php<\/b> \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<pre><code class=\"php\">&lt;?php  $this-&gt;customconfigs['idfield_local'] = 'parent'; $this-&gt;customconfigs['includeTVs'] = 1; $this-&gt;customconfigs['includeTVList'] = 'price,image'; <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u044b \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c, <b>includeTVList<\/b> \u044d\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 TV, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0432 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0435.<br \/>  5. \u0421\u043d\u043e\u0432\u0430 \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u00abchild_resources\u00bb \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u00ab\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb. \u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u00abFormtabs\u00bb -&gt; \u00ab\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435\u00bb -&gt; \u00ab\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb. \u041e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u0435\u0439. \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0434\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u0435\u0439 \u0438 TV, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u044b. <br \/>  6. \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u0434\u043b\u044f \u043f\u043e\u043b\u044f \u00abimage\u00bb \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u00abInput TV\u00bb \u2014 \u00abimage\u00bb. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 TV-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 (\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435) \u0435\u0449\u0451 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u043d, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c, \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0442\u0438\u043f \u0432\u0432\u043e\u0434\u0430 \u00ab\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u00bb \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0434\u043b\u044f \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u0422\u0430\u043a \u0436\u0435 \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 TV.<br \/>  7. \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u00abtemplate\u00bb, \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u00abInput Options\u00bb \u0438 \u0432 \u043f\u043e\u043b\u0435 \u00abDefault Value\u00bb \u0432\u0432\u0435\u0441\u0442\u0438 ID \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0431\u0443\u0434\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442. \u0422\u0430\u043a \u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u043b\u0435 \u00abcontext_key\u00bb. \u0412\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u044b.<br \/>  8. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e\u0431\u044b \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u043f\u043e\u044f\u0432\u043b\u044f\u043b\u0441\u044f \u043f\u0440\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c. \u0421\u043e\u0437\u0434\u0430\u0435\u043c TV, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abchild_resources\u00bb. \u0422\u0438\u043f \u0432\u0432\u043e\u0434\u0430 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u00abmigxdb\u00bb, \u0432 \u043f\u043e\u043b\u0435 \u00ab\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u00bb \u0432\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u043d\u0435\u0435\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 (\u00abchild_resources\u00bb).<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/45c\/d43\/a6f\/45cd43a6f1dee43390527220ad7936fd.png\"\/><br \/>  \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u044d\u0442\u043e\u0442 TV \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432.<br \/>  9. \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c, \u043d\u043e \u0442.\u043a. MIGX \u0435\u0449\u0451 \u0441\u044b\u0440\u043e\u0432\u0430\u0442 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u044b \u0432 \u043f\u0430\u043f\u043a\u0435 &quot;\/processors\/mgr\/resconnections\/&quot;. \u0412\u0437\u044f\u0442\u044c \u0438\u0437 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/bitbucket.org\/andchir\/migx\/src\/873758a934e867c87da6f7efe310b9be134c2771\/core\/components\/migx\/processors\/mgr\/resconnections?at=master\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u0415\u0449\u0451 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u0444\u0430\u0439\u043b\u0430 <a href=\"https:\/\/bitbucket.org\/andchir\/migx\/src\/873758a934e867c87da6f7efe310b9be134c2771\/core\/components\/migx\/model\/migx\/migx.class.php?at=master\">migx.class.php<\/a>.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0430\u0434\u043e.<br \/>  \u0422\u0430\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e MIGXDB \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 \u0411\u0414. \u041e\u0431 \u044d\u0442\u043e\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e <a href=\"http:\/\/modx-shopkeeper.ru\/documentation\/modx-revolution\/tovaryi-iz-otdelnoj-tabliczyi.html\">\u0437\u0434\u0435\u0441\u044c<\/a>.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/196396\/\"> http:\/\/habrahabr.ru\/post\/196396\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/storage3\/89f\/6a5\/23a\/89f6a523a7d1aba8c7e210e33065638f.png\"\/>\u041d\u0435 \u0443\u0441\u0442\u0430\u044e \u0443\u0434\u0438\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <a href=\"http:\/\/modx.com\/extras\/package\/migx\">MIGX<\/a> \u043e\u0442 <a href=\"https:\/\/github.com\/Bruno17\">Bruno17<\/a> \u0434\u043b\u044f <b>MODX Revolution<\/b>. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u043d \u043f\u043e\u043a\u0430 \u043d\u0435\u043a\u0430\u0437\u0438\u0441\u0442\u043e \u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043e\u0447\u043a\u0438, \u043d\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442. \u0412\u0441\u0451, \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0438 <b>2.5.8-pl<\/b> (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442).<\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 MIGX \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f <a href=\"http:\/\/rtfm.modx.com\/extras\/revo\/migx\/migx.backend-usage\">\u0444\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u0439<\/a>, \u043d\u043e \u044d\u0442\u0438\u043c \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u042d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043b\u044e\u0431\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u0411\u0414. \u041c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 (\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 MODX) \u0432 \u043b\u044e\u0431\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435. \u041e\u0431 \u044d\u0442\u043e\u043c \u0438 \u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u041a\u043e\u0435 \u0447\u0442\u043e \u044f \u0443\u0437\u043d\u0430\u043b \u0438\u0437 <a href=\"http:\/\/rtfm.modx.com\/extras\/revo\/migxdb\/migxdb.tutorials\/migxdb.manage-child-resources-in-a-grid-tv-with-help-of-migxdb\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 MIGDB<\/a>, \u043d\u043e, \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u044f\u043b, \u043e\u043d\u0430 \u0443\u0436\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u043c \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0442\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-196396","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196396"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196396\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}