We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I've got a strange bug where the "Done" button saves the popup window/form tabs back to the database but it doesn't close the window. Here's the JSON code for the MIGXdb:

    {"formtabs":"[{\"MIGX_id\":\"1\",\"caption\":\"Review\",\"fields\":\"[{\\\"MIGX_id\\\":\\\"10\\\",\\\"field\\\":\\\"agent\\\",\\\"caption\\\":\\\"Agent\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"\\\"},{\\\"MIGX_id\\\":\\\"14\\\",\\\"field\\\":\\\"reviewer\\\",\\\"caption\\\":\\\"Reviewer\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"\\\"},{\\\"MIGX_id\\\":\\\"9\\\",\\\"field\\\":\\\"content\\\",\\\"caption\\\":\\\"Review\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"textarea\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"\\\"},{\\\"MIGX_id\\\":\\\"15\\\",\\\"field\\\":\\\"recommended\\\",\\\"caption\\\":\\\"Recommended\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"No==0||Yes==1\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"16\\\",\\\"field\\\":\\\"use\\\",\\\"caption\\\":\\\"Apartment Use?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"Living==0||Office==1||Both==2\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"17\\\",\\\"field\\\":\\\"hire_agent\\\",\\\"caption\\\":\\\"Did you hire the agent?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"No==0||Yes==1\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"18\\\",\\\"field\\\":\\\"apartment_type\\\",\\\"caption\\\":\\\"Apartment Type\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"Rental==0||Sale==1\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"19\\\",\\\"field\\\":\\\"price\\\",\\\"caption\\\":\\\"Price\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"number\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"20\\\",\\\"field\\\":\\\"commission\\\",\\\"caption\\\":\\\"Commission Paid to Agent\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"number\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"\\\"},{\\\"MIGX_id\\\":\\\"13\\\",\\\"field\\\":\\\"helpful\\\",\\\"caption\\\":\\\"Helpful?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"1 Star==0||2 Stars==1||3 Stars==2||4 Stars==3||5 Stars==4\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"12\\\",\\\"field\\\":\\\"communication\\\",\\\"caption\\\":\\\"Communication?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"1 Star==0||2 Stars==1||3 Stars==2||4 Stars==3||5 Stars==4\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"21\\\",\\\"field\\\":\\\"trustworthy\\\",\\\"caption\\\":\\\"Trustworthy?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"1 Star==0||2 Stars==1||3 Stars==2||4 Stars==3||5 Stars==4\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"22\\\",\\\"field\\\":\\\"portfolio_size\\\",\\\"caption\\\":\\\"Portfolio Size?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"1 Star==0||2 Stars==1||3 Stars==2||4 Stars==3||5 Stars==4\\\",\\\"default\\\":\\\"0\\\"},{\\\"MIGX_id\\\":\\\"23\\\",\\\"field\\\":\\\"knowledgeable\\\",\\\"caption\\\":\\\"Knowledgeable?\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"1 Star==0||2 Stars==1||3 Stars==2||4 Stars==3||5 Stars==4\\\",\\\"default\\\":\\\"\\\"},{\\\"MIGX_id\\\":\\\"5\\\",\\\"field\\\":\\\"template\\\",\\\"caption\\\":\\\"\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"hidden\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"4\\\"},{\\\"MIGX_id\\\":\\\"2\\\",\\\"field\\\":\\\"parent\\\",\\\"caption\\\":\\\"\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"hidden\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"25\\\"},{\\\"MIGX_id\\\":\\\"6\\\",\\\"field\\\":\\\"context_key\\\",\\\"caption\\\":\\\"\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"hidden\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"\\\",\\\"default\\\":\\\"web\\\"},{\\\"MIGX_id\\\":\\\"8\\\",\\\"field\\\":\\\"show_in_tree\\\",\\\"caption\\\":\\\"Show in Tree\\\",\\\"inputTV\\\":\\\"\\\",\\\"inputTVtype\\\":\\\"listbox\\\",\\\"configs\\\":\\\"\\\",\\\"sourceFrom\\\":\\\"config\\\",\\\"sources\\\":\\\"\\\",\\\"inputOptionValues\\\":\\\"No==0||Yes==1\\\",\\\"default\\\":\\\"0\\\"}]\"}]","contextmenus":"update||publish||unpublish||recall_remove_delete","actionbuttons":"addItem||bulk||toggletrash","columnbuttons":"","filters":"[{\"MIGX_id\":\"1\",\"name\":\"eventsfilter\",\"label\":\"eventsfilter\",\"emptytext\":\"-- Filter Events --\",\"type\":\"combobox\",\"getlistwhere\":\"[[migxFilterevents]]\",\"getcomboprocessor\":\"getTVcombo\",\"combotextfield\":\"eventsfiltercombo\",\"comboidfield\":\"\",\"comboparent\":\"\"},{\"MIGX_id\":\"2\",\"name\":\"search\",\"label\":\"search\",\"emptytext\":\"search...\",\"type\":\"textbox\",\"getlistwhere\":\"{\\\"pagetitle:LIKE\\\":\\\"%[[+search]]%\\\",\\\"OR:longtitle:LIKE\\\":\\\"%[[+search]]%\\\",\\\"OR:content:LIKE\\\":\\\"%[[+search]]%\\\"}\",\"getcomboprocessor\":\"\",\"combotextfield\":\"\",\"comboidfield\":\"\",\"comboparent\":\"\"}]","extended":{"migx_add":"Create Review","formcaption":"Review","win_id":"reviewsmanager","multiple_formtabs":"","extrahandlers":"","packageName":"migxresourcereviews","classname":"modResource","task":"childresources","getlistsort":"","getlistsortdir":"","use_custom_prefix":"0","prefix":"","grid":"","gridload_mode":"1","check_resid":"1","check_resid_TV":"","join_alias":"","getlistwhere":"{\"parent\":\"25\"}","joins":"","cmpmaincaption":"Reviews","cmptabcaption":"Reviews","cmptabdescription":"Manage your reviews here","cmptabcontroller":""},"columns":"[{\"MIGX_id\":\"1\",\"header\":\"ID\",\"dataIndex\":\"id\",\"width\":\"10\",\"renderer\":\"\",\"sortable\":\"true\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"4\",\"header\":\"Published\",\"dataIndex\":\"published\",\"width\":\"10\",\"renderer\":\"this.renderCrossTick\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"9\",\"header\":\"Agent\",\"dataIndex\":\"agent\",\"width\":\"20\",\"renderer\":\"\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"7\",\"header\":\"Reviewer\",\"dataIndex\":\"reviewer\",\"width\":\"20\",\"renderer\":\"\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"10\",\"header\":\"Review\",\"dataIndex\":\"content\",\"width\":\"\",\"renderer\":\"\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"15\",\"header\":\"Price\",\"dataIndex\":\"price\",\"width\":\"20\",\"renderer\":\"\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"8\",\"header\":\"Show in Tree\",\"dataIndex\":\"show_in_tree\",\"width\":\"20\",\"renderer\":\"this.renderCrossTick\",\"sortable\":\"false\",\"show_in_grid\":\"1\"},{\"MIGX_id\":\"3\",\"header\":\"\",\"dataIndex\":\"deleted\",\"width\":\"\",\"renderer\":\"\",\"sortable\":\"false\",\"show_in_grid\":\"0\"}]"}


    I also noticed every time click the Done button this error appears in the browser's error consol:

      MODX Ambassador for Thailand. Managing Director at Monogon, a web design and development studio based in Bangkok, Thailand. - Follow me on Twitter.
      • 4172
      • 5,888 Posts
      I think you are trying to save a resource without an alias.
      Read the processor-response in firebug-console.

      You can try to set the system-setting autoAlias to true or add an alias-field.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!