We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19349
    • 9 Posts
    I have a problem too. It works fine with saving and my registration form in one custom table BUT i cant see nothing in the table.
    Have i forget something? It saves in the table both about the manger form and registration form. But when i want to manage it in the list, it can’t found the data. There is only a empty table huh
      • 19349
      • 9 Posts
      Sorry but its not working. I made it now several times and nothing happend. Now i copied the example, renamed everythink and went line on line through this tutorial. But its still not working. Now i have the this failure: ’{"success":false,"message":"quip.thread_err_nf","total":0,"data":[],"object":[]}’ and the names are allright. So why?
        • 4172
        • 5,888 Posts
        with this infos its difficult to find your issue. You’re online with that?
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 19349
          • 9 Posts
          no i can’t show you that. But i think the module have problems with custom prefixes. its not working, I tried and tried again yesterday but in the end its always the same: {"success":false,"message":"quip.thread_err_nf","total":0,"data":[],"object":[]}

          Packagename: registevent
          Prefix is modx_registevent_
          table:registuser

          I have an understanding problem. Where is the table prefix stored? You say here: "Start xdbedit home-CMP to create your initial schema and classes, Example: prefix: modx_mypackage_; package-name: mypackage"

          Is the prefix stored only in registevent.config.inc.php? So you can change it later?
            • 9710
            • 24 Posts
            Quote from: micke501 at Apr 06, 2011, 04:25 AM

            Is the prefix stored only in registevent.config.inc.php? So you can change it later?
            Yes.

            Quote from: micke501 at Apr 06, 2011, 04:25 AM

            I have a problem too. It works fine with saving and my registration form in one custom table BUT i cant see nothing in the table.
            Do you mean you save data in the table by a custom component and now you want to edit/show it with xdbedit but there is nothing in the js-grid? Or did I get it wrong and there is no data in the db table?


            In the first case: Did you check the modx error log? Just guessing: could to be either a problem in one of your processors (getlist.php - I hope you created them wink) or malformed SQL.
            Did you edit your registevent.grid.js?


            //
            @bruno:
            Is there an easy way to completely remove the tv stuff before the js grid? there always is a dark line, even if I do not use any tvs.
              • 31946
              • 116 Posts
              Quote from: Firebird at Apr 03, 2011, 10:17 AM

              Could you solve this problem? I experience the same issue with a fresh 2.0.8pl install (and 2.1 - exactly the same) and the telephondir example sad

              The image field messed up everything...



              Hi Firebird,
              no i’m sorry I couldn’t solve it. I’m using Brunos ImageListTV instead of the Image-TV and it works fine:
              http://modxcms.com/forums/index.php/topic,52539.msg304271.html#msg304271

              Cheers
                • 9710
                • 24 Posts
                Quote from: Wanze at Apr 06, 2011, 02:14 PM

                Hi Firebird,
                no i’m sorry I couldn’t solve it. I’m using Brunos ImageListTV instead of the Image-TV and it works fine:
                http://modxcms.com/forums/index.php/topic,52539.msg304271.html#msg304271

                Cheers
                Tkanks for your answer. We (alright: he wink ) already solved it. The github version is working right now for v2.0.8
                  • 9710
                  • 24 Posts
                  I created another php processor xdbedit/processors/xyz/inlineupdate.php in which "$modx->xdbedit->customconfigs;" gives me an empty array (I only copied another processor, so the code is correct).

                  I could fetch the JSON string and run addPackage with an static parameter, but i’d like to access the existing configuration file.
                  Is this a bug or do I miss something?
                    • 4172
                    • 5,888 Posts
                    the path to processors normally are:
                    xdbedit/processors/mgr/xyz/inlineupdate.php

                    then you need a function in your grid with something like that:

                    	,inlineupdate: function() {
                            MODx.Ajax.request({
                                url: this.config.url
                                ,params: {
                                    action: 'mgr/'+Xdbedit.customconfigs.task+'/inlineupdate',
                    		,configs: this.config.configs
                                    , ...............more params
                                }
                                ,listeners: {
                                    'success': {fn:this.refresh,scope:this}
                                }
                            });
                        }
                      -------------------------------

                      you can buy me a beer, if you like MIGX

                      http://webcmsolutions.de/migx.html

                      Thanks!
                      • 9710
                      • 24 Posts
                      Thanks for your reply!

                      Quote from: Bruno17 at Jun 04, 2011, 06:03 PM

                      the path to processors normally are:
                      xdbedit/processors/mgr/xyz/inlineupdate.php
                      Sry, I meant that.

                      Quote from: Bruno17 at Jun 04, 2011, 06:03 PM

                      then you need a function in your grid with something like that:

                      	,inlineupdate: function() {
                              MODx.Ajax.request({
                                  url: this.config.url
                                  ,params: {
                                      action: 'mgr/'+Xdbedit.customconfigs.task+'/inlineupdate',
                      		,configs: this.config.configs
                                      , ...............more params
                                  }
                                  ,listeners: {
                                      'success': {fn:this.refresh,scope:this}
                                  }
                              });
                          }


                      I’m using:
                      Ext.applyIf(config,{
                      [...]
                        ,save_action: 'mgr/'+Xdbedit.customconfigs.task+'/inlineupdate'
                        ,saveParams: { area: 'default'}
                        ,save_callback: function() { this.reloadGrid(); }
                      [...]
                      

                      for letting the user update entries directly in the grid (which is working when I copy and paste the settings from the config file into the processor).

                      Is the config not included because I use save_action and not MODx.Ajax.request over an extra function?